[1m[35m (0.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (405.7ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (343.5ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-01-29 03:38:11.496703"], ["updated_at", "2022-01-29 03:38:11.496703"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to DeviseCreateUsers (20220129231648)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (26.4ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[36mActiveRecord::SchemaMigration Create (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220129231648"]]
[1m[36mTRANSACTION (3.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/” for ::1 at 2022-01-29 18:18:57 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 2.6ms | Allocations: 328)
- Webpacker
-
Compiling…
Started GET “/” for ::1 at 2022-01-29 18:19:02 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 9db1d0bd1de8cbb4e746
Version: webpack 4.46.0 Time: 1392ms Built at: 01/29/2022 6:19:03 PM
Asset Size Chunks Chunk Names js/application-646c47bfaff10bd373f5.js 612 KiB application [emitted] [immutable] application
js/application-646c47bfaff10bd373f5.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-646c47bfaff10bd373f5.js js/application-646c47bfaff10bd373f5.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
949 bytes {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered layout layouts/application.html.erb (Duration: 6327.2ms | Allocations: 142718)
Completed 200 OK in 6349ms (Views: 6336.0ms | ActiveRecord: 0.0ms | Allocations: 146345)
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 9db1d0bd1de8cbb4e746
Version: webpack 4.46.0 Time: 781ms Built at: 01/29/2022 6:19:04 PM
Asset Size Chunks Chunk Names js/application-646c47bfaff10bd373f5.js 612 KiB application [emitted] [immutable] application
js/application-646c47bfaff10bd373f5.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-646c47bfaff10bd373f5.js js/application-646c47bfaff10bd373f5.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
949 bytes {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered layout layouts/application.html.erb (Duration: 2158.9ms | Allocations: 13830)
Completed 200 OK in 2166ms (Views: 2164.7ms | ActiveRecord: 0.0ms | Allocations: 14160)
Started GET “/users/sign_up” for ::1 at 2022-01-29 18:19:14 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.1ms | Allocations: 533) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 191.3ms | Allocations: 22509)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered layout layouts/application.html.erb (Duration: 223.8ms | Allocations: 32789)
Completed 200 OK in 274ms (Views: 231.7ms | ActiveRecord: 13.2ms | Allocations: 39069)
Started GET “/users/sign_up” for ::1 at 2022-01-29 18:23:25 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 535) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 48.1ms | Allocations: 15584)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered layout layouts/application.html.erb (Duration: 217.2ms | Allocations: 53981)
Completed 200 OK in 245ms (Views: 224.0ms | ActiveRecord: 6.0ms | Allocations: 61696)
Started GET “/users/sign_up” for ::1 at 2022-01-29 18:23:30 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.5ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.8ms | Allocations: 6503)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered layout layouts/application.html.erb (Duration: 54.5ms | Allocations: 16780)
Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms | Allocations: 17310)
Started GET “/” for ::1 at 2022-01-29 18:27:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 583) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 204) Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 11850)
Completed 200 OK in 33ms (Views: 30.7ms | ActiveRecord: 0.0ms | Allocations: 13100)
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:27:24 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 596) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 9921)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 142) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.3ms | Allocations: 20551)
Completed 200 OK in 56ms (Views: 35.4ms | ActiveRecord: 9.6ms | Allocations: 27212)
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:27:26 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.4ms | Allocations: 8547)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 137) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 19936)
Completed 200 OK in 37ms (Views: 35.8ms | ActiveRecord: 0.0ms | Allocations: 20521)
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:27:28 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.2ms | Allocations: 8509)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.7ms | Allocations: 137) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 45.7ms | Allocations: 19937)
Completed 200 OK in 48ms (Views: 46.5ms | ActiveRecord: 0.0ms | Allocations: 20520)
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:28:34 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 532) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 21.0ms | Allocations: 9236)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 499) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 20856)
Completed 200 OK in 47ms (Views: 45.7ms | ActiveRecord: 0.0ms | Allocations: 22570)
Started GET “/users/123” for ::1 at 2022-01-29 18:28:48 -0500
ActionController::RoutingError (No route matches [GET] “/users/123”):
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:28:55 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.3ms | Allocations: 9246)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 497) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 20856)
Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.0ms | Allocations: 22577)
Started GET “/” for ::1 at 2022-01-29 18:28:58 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.2ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 178) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 10837)
Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms | Allocations: 11800)
Started GET “/” for ::1 at 2022-01-29 18:29:00 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 172) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 10766)
Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms | Allocations: 11157)
Started GET “/” for ::1 at 2022-01-29 18:38:21 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.1ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 61.1ms | Allocations: 33595) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 97.2ms | Allocations: 44839)
Completed 200 OK in 104ms (Views: 102.1ms | Allocations: 46020)
[1m[36mUser Load (3.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
Started GET “/sign_up” for ::1 at 2022-01-29 18:49:50 -0500
ActionController::RoutingError (No route matches [GET] “/sign_up”):
Started GET “/” for ::1 at 2022-01-29 18:49:53 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 686) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 19.5ms | Allocations: 11247)
Completed 200 OK in 23ms (Views: 20.2ms | Allocations: 12291)
Started GET “/products” for ::1 at 2022-01-29 18:49:59 -0500
ActionController::RoutingError (uninitialized constant ProductsController):
Started GET “/” for ::1 at 2022-01-29 18:50:08 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 670) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 11266)
Completed 200 OK in 17ms (Views: 16.7ms | Allocations: 11650)
Started GET “/users/sign_in” for ::1 at 2022-01-29 18:50:11 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.9ms | Allocations: 540) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 17.7ms | Allocations: 9284)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 641) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 20361)
Completed 200 OK in 79ms (Views: 43.2ms | ActiveRecord: 14.7ms | Allocations: 28173)
Started GET “/users/sing_up” for ::1 at 2022-01-29 18:50:14 -0500
ActionController::RoutingError (No route matches [GET] “/users/sing_up”):
Started GET “/users/sign_up” for ::1 at 2022-01-29 18:50:41 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 115) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 25.3ms | Allocations: 6707)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 53.3ms | Allocations: 17782)
Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.0ms | Allocations: 19015)
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to AddColumnsToUser (20220129235955)
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.6ms)[0m [1m[35mALTER TABLE "users" ADD "first_name" character varying[0m
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "users" ADD "last_name" character varying[0m
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "users" ADD "address" character varying[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "users" ADD "phone" character varying[0m
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "users" ADD "admin" boolean DEFAULT FALSE[0m
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220129235955"]]
[1m[36mTRANSACTION (3.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateProducts (20220130000707)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.6ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130000707"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateCarts (20220130001105)
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.7ms)[0m [1m[35mCREATE TABLE "carts" ("id" bigserial primary key, "date" date, "user_id" bigint NOT NULL, "status" integer, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_ea59a35211"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_carts_on_user_id" ON "carts" ("user_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130001105"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateOrders (20220130001427)
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "cart_id" bigint NOT NULL, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_5cdf0e0ad4"
FOREIGN KEY (“cart_id”)
REFERENCES "carts" ("id")
, CONSTRAINT “fk_rails_dfb33b2de0” FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_cart_id" ON "orders" ("cart_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130001427"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (2.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/users/sing_up” for ::1 at 2022-01-29 19:21:17 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
ActionController::RoutingError (No route matches [GET] “/users/sing_up”):
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:21:21 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 116) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 13.4ms | Allocations: 6575)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 646) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 17714)
Completed 200 OK in 45ms (Views: 38.5ms | ActiveRecord: 0.0ms | Allocations: 21748)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:21:23 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.8ms | Allocations: 6531)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 17594)
Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.0ms | Allocations: 18137)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:22:51 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 10.9ms | Allocations: 6531)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.8ms | Allocations: 17594)
Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.0ms | Allocations: 18137)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:22:54 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 486) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.2ms | Allocations: 7286)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 997) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 19408)
Completed 200 OK in 48ms (Views: 45.4ms | ActiveRecord: 0.0ms | Allocations: 21095)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:25:08 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.3ms | Allocations: 6816) Rendered layout layouts/application.html.erb (Duration: 14.6ms | Allocations: 6880)
Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.0ms | Allocations: 8534)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:29:34 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 27.8ms | Allocations: 6300) Rendered layout layouts/application.html.erb (Duration: 28.5ms | Allocations: 6364)
Completed 500 Internal Server Error in 35ms (Allocations: 8013)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: label: 'Nombre(s):' %> 9: <%= f.input :email, 10: required: true,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:29:40 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 9.5ms | Allocations: 6481) Rendered layout layouts/application.html.erb (Duration: 10.2ms | Allocations: 6545)
Completed 500 Internal Server Error in 15ms (Allocations: 8194)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:04 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.0ms | Allocations: 6495) Rendered layout layouts/application.html.erb (Duration: 8.2ms | Allocations: 6559)
Completed 500 Internal Server Error in 28ms (ActiveRecord: 8.8ms | Allocations: 13510)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 12.1ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 12.4ms | Allocations: 6317)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 6832)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 13.4ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 13.7ms | Allocations: 6317)
Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms | Allocations: 6831)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:06 -0500 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 11.2ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 12.3ms | Allocations: 6457)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 7080)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.8ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 9.3ms | Allocations: 6696)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms | Allocations: 8139)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:07 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3
Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.8ms | Allocations: 6238) Rendered layout layouts/application.html.erb (Duration: 101.1ms | Allocations: 66111)
Completed 500 Internal Server Error in 102ms (ActiveRecord: 0.0ms | Allocations: 66625)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:07 -0500
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.2ms | Allocations: 6259) Rendered layout layouts/application.html.erb (Duration: 147.0ms | Allocations: 33155)
Completed 500 Internal Server Error in 150ms (ActiveRecord: 0.0ms | Allocations: 99957)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:08 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 7.9ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 10.1ms | Allocations: 7291)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 9990)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:08 -0500 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:08 -0500
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.2ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 11.6ms | Allocations: 8696)
Completed 500 Internal Server Error in 66ms (ActiveRecord: 0.0ms | Allocations: 45938)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:08 -0500 Processing by Devise::RegistrationsController#new as HTML
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application
Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendered devise/registrations/new.html.erb within layouts/application (Duration: 9.3ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 87.8ms | Allocations: 55083) Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 9.0ms | Allocations: 6237) Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 8389)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 9328)
Completed 500 Internal Server Error in 298ms (ActiveRecord: 0.0ms | Allocations: 198848)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:08 -0500
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.6ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 102.9ms | Allocations: 70168)
Completed 500 Internal Server Error in 105ms (ActiveRecord: 0.0ms | Allocations: 70684)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:40:10 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.7ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 11.8ms | Allocations: 6912)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 7735)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started PUT “/__web_console/repl_sessions/ad4765f7a9d82c9112dbcc55ff99255e” for ::1 at 2022-01-29 19:40:14 -0500 Started PUT “/__web_console/repl_sessions/ad4765f7a9d82c9112dbcc55ff99255e” for ::1 at 2022-01-29 19:40:14 -0500 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:43:15 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 11.7ms | Allocations: 6472) Rendered layout layouts/application.html.erb (Duration: 12.1ms | Allocations: 6536)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.0ms | Allocations: 8185)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name %> 8: <%= f.input :email, 9: required: true, 10: autofocus: true,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:43:25 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 2.0ms | Allocations: 1311) Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 1376)
Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms | Allocations: 3026)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h2>Sign up</h2>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :first_name
required: true,
autofocus: true %>
<%= f.input :email,
required: true,
autofocus: true,
input_html: { autocomplete: "email" }%>
<%= f.input :password,
required: true,
hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),
input_html: { autocomplete: "new-password" } %>
<%= f.input :password_confirmation,
required: true,
input_html: { autocomplete: "new-password" } %>
</div>
<div class="form-actions">
<%= f.button :submit, "Sign up", class:'btn btn-primary' %>
</div>
<% end %>
<%= render “devise/shared/links” %>
): 1: <h2>Sign up</h2> 2:
3: <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> 4: <%= f.error_notification %> 5:
6: <div class=“form-inputs”> 7: <%= f.input :first_name 8: required: true, 9: autofocus: true %> 10: <%= f.input :email, 11: required: true, 12: autofocus: true, 13: input_html: { autocomplete: “email” }%> 14: <%= f.input :password, 15: required: true, 16: hint: (“#{@minimum_password_length} characters minimum” if @minimum_password_length), 17: input_html: { autocomplete: “new-password” } %> 18: <%= f.input :password_confirmation, 19: required: true, 20: input_html: { autocomplete: “new-password” } %> 21: </div> 22:
23: <div class=“form-actions”> 24: <%= f.button :submit, “Sign up”, class:'btn btn-primary' %> 25: </div> 26: <% end %> 27:
28: <%= render “devise/shared/links” %>
app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true Started GET “/users/sign_up” for ::1 at 2022-01-29 19:43:26 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 1.5ms | Allocations: 1301) Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 1366)
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 1881)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h2>Sign up</h2>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :first_name
required: true,
autofocus: true %>
<%= f.input :email,
required: true,
autofocus: true,
input_html: { autocomplete: "email" }%>
<%= f.input :password,
required: true,
hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),
input_html: { autocomplete: "new-password" } %>
<%= f.input :password_confirmation,
required: true,
input_html: { autocomplete: "new-password" } %>
</div>
<div class="form-actions">
<%= f.button :submit, "Sign up", class:'btn btn-primary' %>
</div>
<% end %>
<%= render “devise/shared/links” %>
): 1: <h2>Sign up</h2> 2:
3: <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> 4: <%= f.error_notification %> 5:
6: <div class=“form-inputs”> 7: <%= f.input :first_name 8: required: true, 9: autofocus: true %> 10: <%= f.input :email, 11: required: true, 12: autofocus: true, 13: input_html: { autocomplete: “email” }%> 14: <%= f.input :password, 15: required: true, 16: hint: (“#{@minimum_password_length} characters minimum” if @minimum_password_length), 17: input_html: { autocomplete: “new-password” } %> 18: <%= f.input :password_confirmation, 19: required: true, 20: input_html: { autocomplete: “new-password” } %> 21: </div> 22:
23: <div class=“form-actions”> 24: <%= f.button :submit, “Sign up”, class:'btn btn-primary' %> 25: </div> 26: <% end %> 27:
28: <%= render “devise/shared/links” %>
app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true app/views/devise/registrations/new.html.erb:8: syntax error, unexpected ':', expecting ')' app/views/devise/registrations/new.html.erb:8: Can't assign to true Started GET “/users/sign_up” for ::1 at 2022-01-29 19:43:32 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 11.7ms | Allocations: 6506) Rendered layout layouts/application.html.erb (Duration: 12.0ms | Allocations: 6570)
Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms | Allocations: 8220)
ActionView::Template::Error (undefined method `first_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :first_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:44:19 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.0ms | Allocations: 6781) Rendered layout layouts/application.html.erb (Duration: 14.6ms | Allocations: 6848)
Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.0ms | Allocations: 8497)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:05 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 13.0ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 13.4ms | Allocations: 6317)
Completed 500 Internal Server Error in 16ms (Allocations: 6832)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 12.4ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 12.7ms | Allocations: 6317)
Completed 500 Internal Server Error in 14ms (Allocations: 6831)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 12.1ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 12.4ms | Allocations: 6317)
Completed 500 Internal Server Error in 15ms (Allocations: 6831)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 8.0ms | Allocations: 6253) Rendered layout layouts/application.html.erb (Duration: 8.3ms | Allocations: 6412)
Completed 500 Internal Server Error in 10ms (Allocations: 7327)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3
Rendered devise/registrations/new.html.erb within layouts/application (Duration: 9.7ms | Allocations: 6237) Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 13721)
Completed 500 Internal Server Error in 22ms (Allocations: 14235)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:23 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 3.1ms | Allocations: 491) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 13.3ms | Allocations: 7326)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1031) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 204) Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 19493)
Completed 200 OK in 59ms (Views: 56.7ms | Allocations: 21171)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:41 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 12.1ms | Allocations: 6549)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.9ms | Allocations: 17618)
Completed 200 OK in 33ms (Views: 31.8ms | Allocations: 18162)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:48:45 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 10.3ms | Allocations: 6535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 17659)
Completed 200 OK in 32ms (Views: 30.9ms | Allocations: 18202)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:50:33 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 6513) Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 6577)
Completed 500 Internal Server Error in 18ms (Allocations: 8228)
ActionView::Template::Error (undefined method `last_name' for #<User id: nil, email: “”, created_at: nil, updated_at: nil>):
4: <%= f.error_notification %> 5: 6: <div class="form-inputs"> 7: <%= f.input :last_name, 8: required: true, 9: autofocus: true %> 10: <%= f.input :email,
app/views/devise/registrations/new.html.erb:7 app/views/devise/registrations/new.html.erb:3 Started GET “/users/sign_up” for ::1 at 2022-01-29 19:53:29 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 535) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 52.0ms | Allocations: 18606)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1054) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 169.5ms | Allocations: 58980)
Completed 200 OK in 202ms (Views: 176.8ms | ActiveRecord: 7.5ms | Allocations: 68867)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:56:46 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 535) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 29.5ms | Allocations: 19403)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1054) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 125.9ms | Allocations: 59649)
Completed 200 OK in 152ms (Views: 131.0ms | ActiveRecord: 6.2ms | Allocations: 69536)
Started GET “/users/sign_up” for ::1 at 2022-01-29 19:57:59 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 34.5ms | Allocations: 14297)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 992) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 61.7ms | Allocations: 26353)
Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms | Allocations: 28036)
Started GET “/users/sign_in” for ::1 at 2022-01-29 19:58:09 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 3.6ms | Allocations: 220) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 40.0ms | Allocations: 9795)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 68.6ms | Allocations: 21014)
Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms | Allocations: 22329)
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (5.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$FKdQTuJ6JKNMgPrzMF0KAeDMAf7pt8NeT2S6EE2R6tbUwea2ej3xe"], ["created_at", "2022-01-30 01:05:47.109474"], ["updated_at", "2022-01-30 01:05:47.109474"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Street Charleston 123"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
Started GET “/users/sign_in” for ::1 at 2022-01-29 20:06:05 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 3.0ms | Allocations: 532) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 29.5ms | Allocations: 9292)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 71.6ms | Allocations: 21413)
Completed 200 OK in 79ms (Views: 77.4ms | Allocations: 23143)
Started POST “/users/sign_in” for ::1 at 2022-01-29 20:06:27 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 272ms (ActiveRecord: 18.0ms | Allocations: 10174)
Started GET “/” for ::1 at 2022-01-29 20:06:27 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 110)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 7.2ms | Allocations: 1842) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 12431)
Completed 200 OK in 24ms (Views: 18.9ms | ActiveRecord: 3.1ms | Allocations: 13481)
Started GET “/” for ::1 at 2022-01-29 20:06:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 108)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 2191) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 13398)
Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 1.0ms | Allocations: 14581)
Started GET “/users/sign_in” for ::1 at 2022-01-29 20:07:21 -0500 Processing by Devise::SessionsController#new as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.4ms | Allocations: 1612)
Started GET “/” for ::1 at 2022-01-29 20:07:21 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1827) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 12368)
Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 1.2ms | Allocations: 12766)
Started GET “/users/edit” for ::1 at 2022-01-29 20:07:24 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 34.3ms | Allocations: 14184)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 698) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 52.1ms | Allocations: 25329)
Completed 200 OK in 61ms (Views: 55.3ms | ActiveRecord: 1.1ms | Allocations: 27975)
Started GET “/users/edit” for ::1 at 2022-01-29 21:05:03 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 13.9ms | Allocations: 13577)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 691) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 24714)
Completed 200 OK in 69ms (Views: 39.8ms | ActiveRecord: 18.6ms | Allocations: 30623)
Started GET “/users/edit” for ::1 at 2022-01-29 21:05:12 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 23.2ms | Allocations: 13561)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 689) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 25501)
Completed 200 OK in 48ms (Views: 44.0ms | ActiveRecord: 0.8ms | Allocations: 27234)
Started GET “/users/edit” for ::1 at 2022-01-29 21:05:14 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 24.0ms | Allocations: 13585)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 693) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 24722)
Completed 200 OK in 48ms (Views: 40.9ms | ActiveRecord: 1.3ms | Allocations: 26456)
Started PUT “/users” for ::1 at 2022-01-29 21:05:23 -0500 Processing by Devise::RegistrationsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "first_name"=>"Admin", "last_name"=>"Applaudo Studios", "address"=>"Street Charleston 123", "phone"=>"123-456-7890", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering devise/registrations/edit.html.erb within layouts/application
Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 14.6ms | Allocations: 15084)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 691) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.9ms | Allocations: 26216)
Completed 200 OK in 257ms (Views: 27.4ms | ActiveRecord: 1.6ms | Allocations: 31111)
Started PUT “/users” for ::1 at 2022-01-29 21:05:35 -0500 Processing by Devise::RegistrationsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "first_name"=>"Admin", "last_name"=>"Applaudo Studios", "address"=>"Street Charleston 123", "phone"=>"123-456-7890", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Update (6.3ms)[0m [1m[33mUPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["encrypted_password", "$2a$12$2/LjiyssehiLYDSknUWCb.1m1YrlKN6I0R.5OiOAJStByOzwKFNkW"], ["updated_at", "2022-01-30 02:05:35.968421"], ["id", 1]]
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
Redirected to localhost:3000/ Completed 302 Found in 454ms (ActiveRecord: 10.5ms | Allocations: 7228)
Started GET “/” for ::1 at 2022-01-29 21:05:35 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1829) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 12427)
Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.8ms | Allocations: 12825)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:05:47 -0500 Processing by Devise::SessionsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms | Allocations: 1574)
Started GET “/” for ::1 at 2022-01-29 21:05:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 6.7ms | Allocations: 1821) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 12357)
Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.8ms | Allocations: 12755)
Started GET “/” for ::1 at 2022-01-29 21:05:48 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1826) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.6ms | Allocations: 12362)
Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 1.1ms | Allocations: 12750)
Started GET “/” for ::1 at 2022-01-29 21:05:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 1824) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.7ms | Allocations: 12414)
Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 1.2ms | Allocations: 12806)
Started GET “/” for ::1 at 2022-01-29 21:05:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1822) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 12353)
Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 1.0ms | Allocations: 12744)
Started GET “/” for ::1 at 2022-01-29 21:05:52 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1822) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 12355)
Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 1.0ms | Allocations: 12747)
Started GET “/” for ::1 at 2022-01-29 21:06:40 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 2384) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 13598)
Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 0.8ms | Allocations: 14787)
Started GET “/” for ::1 at 2022-01-29 21:07:09 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 7.7ms | Allocations: 2385) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 14527)
Completed 200 OK in 43ms (Views: 40.7ms | ActiveRecord: 1.2ms | Allocations: 15713)
Started GET “/” for ::1 at 2022-01-29 21:08:25 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 2379) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 13588)
Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.8ms | Allocations: 14776)
Started GET “/” for ::1 at 2022-01-29 21:10:23 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2033) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.8ms | Allocations: 13294)
Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.8ms | Allocations: 14477)
Started DELETE “/users/sign_out” for ::1 at 2022-01-29 21:10:26 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 20ms (ActiveRecord: 1.1ms | Allocations: 4330)
Started GET “/” for ::1 at 2022-01-29 21:10:26 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 673) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 12.8ms | Allocations: 11218)
Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms | Allocations: 11611)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:10:35 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 581) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.1ms | Allocations: 10085)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 21317)
Completed 200 OK in 38ms (Views: 36.2ms | ActiveRecord: 0.0ms | Allocations: 22836)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:10:45 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 217ms (ActiveRecord: 1.3ms | Allocations: 3463)
Started GET “/” for ::1 at 2022-01-29 21:10:45 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 15.3ms | Allocations: 12369)
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.8ms | Allocations: 12765)
Started GET “/users/edit” for ::1 at 2022-01-29 21:10:50 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.1ms | Allocations: 13996)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 630) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 25952)
Completed 200 OK in 42ms (Views: 36.3ms | ActiveRecord: 1.2ms | Allocations: 28261)
Started GET “/” for ::1 at 2022-01-29 21:10:56 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 6.7ms | Allocations: 2532) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.3ms | Allocations: 13081)
Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 1.1ms | Allocations: 13477)
Started GET “/users/edit” for ::1 at 2022-01-29 21:11:01 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 22.5ms | Allocations: 13564)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 625) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 25517)
Completed 200 OK in 49ms (Views: 42.2ms | ActiveRecord: 1.1ms | Allocations: 27253)
Started DELETE “/users/sign_out” for ::1 at 2022-01-29 21:11:03 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms | Allocations: 1912)
Started GET “/” for ::1 at 2022-01-29 21:11:03 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 672) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 11272)
Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.0ms | Allocations: 11663)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:11:08 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.9ms | Allocations: 8630)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 20536)
Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.0ms | Allocations: 21136)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:11:13 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@lewagon.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@lewagon.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 5ms (ActiveRecord: 1.1ms | Allocations: 1626)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@lewagon.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 8.9ms | Allocations: 8605)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 609) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 51) Rendered layout layouts/application.html.erb (Duration: 20.9ms | Allocations: 19694)
Completed 200 OK in 231ms (Views: 21.4ms | ActiveRecord: 0.0ms | Allocations: 20261)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:11:23 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 219ms (ActiveRecord: 1.2ms | Allocations: 2451)
Started GET “/” for ::1 at 2022-01-29 21:11:23 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1754) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 12294)
Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.8ms | Allocations: 12688)
Started GET “/” for ::1 at 2022-01-29 21:12:36 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.6ms | Allocations: 12349)
Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.8ms | Allocations: 12738)
Started GET “/” for ::1 at 2022-01-29 21:12:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 12347)
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.8ms | Allocations: 12738)
Started GET “/” for ::1 at 2022-01-29 21:13:15 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:13 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.1ms | Allocations: 13253)
Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.8ms | Allocations: 14441)
Started DELETE “/users/sign_out” for ::1 at 2022-01-29 21:13:18 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 1910)
Started GET “/” for ::1 at 2022-01-29 21:13:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 676) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 13.0ms | Allocations: 11278)
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms | Allocations: 11671)
Started GET “/” for ::1 at 2022-01-29 21:13:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 937) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 12141)
Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms | Allocations: 13319)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:13:52 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 559) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.9ms | Allocations: 10082)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.0ms | Allocations: 21320)
Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.0ms | Allocations: 22839)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:15:47 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13561)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 24687)
Completed 200 OK in 36ms (Views: 35.6ms | ActiveRecord: 0.0ms | Allocations: 25802)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:16:58 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.6ms | Allocations: 8601)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 20587)
Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms | Allocations: 21187)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:17:04 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 222ms (ActiveRecord: 1.1ms | Allocations: 3447)
Started GET “/” for ::1 at 2022-01-29 21:17:05 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1764) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 12309)
Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.9ms | Allocations: 12706)
Started GET “/users/edit” for ::1 at 2022-01-29 21:17:12 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13988)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 630) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 25956)
Completed 200 OK in 40ms (Views: 35.4ms | ActiveRecord: 1.0ms | Allocations: 27816)
Started DELETE “/users/sign_out” for ::1 at 2022-01-29 21:17:22 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 1.0ms | Allocations: 1905)
Started GET “/” for ::1 at 2022-01-29 21:17:22 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 13.3ms | Allocations: 11280)
Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms | Allocations: 11671)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:17:24 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.0ms | Allocations: 8621)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 20539)
Completed 200 OK in 32ms (Views: 30.8ms | ActiveRecord: 0.0ms | Allocations: 21139)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:17:29 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 20.7ms | Allocations: 13232)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 24351)
Completed 200 OK in 39ms (Views: 37.7ms | ActiveRecord: 0.0ms | Allocations: 24901)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:19:50 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.0ms | Allocations: 13257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1918.6ms | Allocations: 96506)
Completed 200 OK in 1920ms (Views: 1919.3ms | ActiveRecord: 0.0ms | Allocations: 97056)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:19:55 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.4ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.7ms | Allocations: 24377)
Completed 200 OK in 30ms (Views: 29.3ms | ActiveRecord: 0.0ms | Allocations: 24927)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:20:09 -0500
[1m[35m (2.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 535) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 51.2ms | Allocations: 23015)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 936) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 207.8ms | Allocations: 72405)
Completed 200 OK in 242ms (Views: 216.1ms | ActiveRecord: 6.4ms | Allocations: 82291)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:20:51 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.7ms | Allocations: 13252)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1605.9ms | Allocations: 95027)
Completed 200 OK in 1608ms (Views: 1606.6ms | ActiveRecord: 0.0ms | Allocations: 95576)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:21:10 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.1ms | Allocations: 13244)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1205.4ms | Allocations: 97911)
Completed 200 OK in 1207ms (Views: 1205.9ms | ActiveRecord: 0.0ms | Allocations: 98474)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:22:29 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.3ms | Allocations: 14050)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1168.7ms | Allocations: 102427)
Completed 200 OK in 1174ms (Views: 1172.7ms | ActiveRecord: 0.0ms | Allocations: 104122)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:22:37 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.2ms | Allocations: 13235)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1132.6ms | Allocations: 103557)
Completed 200 OK in 1134ms (Views: 1133.0ms | ActiveRecord: 0.0ms | Allocations: 104118)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:22:47 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 23.2ms | Allocations: 13244)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1210.3ms | Allocations: 104512)
Completed 200 OK in 1213ms (Views: 1211.1ms | ActiveRecord: 0.0ms | Allocations: 105075)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:22:55 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.5ms | Allocations: 13222)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1160.5ms | Allocations: 104461)
Completed 200 OK in 1162ms (Views: 1161.2ms | ActiveRecord: 0.0ms | Allocations: 105009)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:23:13 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.2ms | Allocations: 13244)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1124.6ms | Allocations: 103560)
Completed 200 OK in 1126ms (Views: 1125.2ms | ActiveRecord: 0.0ms | Allocations: 104109)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:24:44 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.5ms | Allocations: 14067)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1183.5ms | Allocations: 107176)
Completed 200 OK in 1188ms (Views: 1187.2ms | ActiveRecord: 0.0ms | Allocations: 108861)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:25:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.7ms | Allocations: 13254)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1171.3ms | Allocations: 104078)
Completed 200 OK in 1173ms (Views: 1171.8ms | ActiveRecord: 0.0ms | Allocations: 104626)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:25:26 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 21.2ms | Allocations: 13249)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1213.6ms | Allocations: 104530)
Completed 200 OK in 1215ms (Views: 1214.2ms | ActiveRecord: 0.0ms | Allocations: 105079)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:25:34 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.2ms | Allocations: 13260)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1163.0ms | Allocations: 103588)
Completed 200 OK in 1164ms (Views: 1163.5ms | ActiveRecord: 0.0ms | Allocations: 104139)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:26:06 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.1ms | Allocations: 13413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 902) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 25413)
Completed 200 OK in 42ms (Views: 41.3ms | Allocations: 27099)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:26:22 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 497) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.0ms | Allocations: 14019)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 901) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.6ms | Allocations: 26010)
Completed 200 OK in 38ms (Views: 37.4ms | Allocations: 27682)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:26:33 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 124) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13211)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1187.6ms | Allocations: 104993)
Completed 200 OK in 1189ms (Views: 1188.4ms | Allocations: 105541)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:26:57 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 118) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.8ms | Allocations: 13249)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1415.9ms | Allocations: 104074)
Completed 200 OK in 1417ms (Views: 1416.4ms | Allocations: 104623)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:27:17 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 118) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.6ms | Allocations: 13245)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1151.9ms | Allocations: 104033)
Completed 200 OK in 1154ms (Views: 1152.6ms | Allocations: 104582)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:27:34 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 2.0ms | Allocations: 497) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.5ms | Allocations: 14063)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 903) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 26069)
Completed 200 OK in 44ms (Views: 43.1ms | Allocations: 27754)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:27:38 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.5ms | Allocations: 124) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.4ms | Allocations: 13211)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 24333)
Completed 200 OK in 31ms (Views: 30.1ms | Allocations: 24881)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:27:44 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 497) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 22.2ms | Allocations: 14016)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 26015)
Completed 200 OK in 69ms (Views: 68.3ms | Allocations: 27689)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:27:47 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 124) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.9ms | Allocations: 13236)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 24368)
Completed 200 OK in 29ms (Views: 28.6ms | Allocations: 24916)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:28:08 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 497) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.9ms | Allocations: 14018)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1144.5ms | Allocations: 106211)
Completed 200 OK in 1149ms (Views: 1147.9ms | Allocations: 107893)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:30:23 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.9ms | Allocations: 14063)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 901) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 26054)
Completed 200 OK in 41ms (Views: 39.9ms | Allocations: 27736)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:30:58 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.9ms | Allocations: 13218)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 641) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1233.2ms | Allocations: 103553)
Completed 200 OK in 1235ms (Views: 1233.7ms | Allocations: 104101)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:01 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.2ms | Allocations: 13245)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.6ms | Allocations: 24373)
Completed 200 OK in 33ms (Views: 32.1ms | Allocations: 24923)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:02 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.0ms | Allocations: 13202)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.3ms | Allocations: 24318)
Completed 200 OK in 34ms (Views: 31.9ms | Allocations: 24865)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:03 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 13203)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 24321)
Completed 200 OK in 35ms (Views: 34.2ms | Allocations: 24869)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:26 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.5ms | Allocations: 13245) Rendered layout layouts/application.html.erb (Duration: 165.9ms | Allocations: 46560)
Completed 500 Internal Server Error in 168ms (Allocations: 47086)
ActionView::Template::Error (Error: Invalid CSS after “ margin: 0 auto”: expected “}”, was “:”
on line 7:15 of app/assets/stylesheets/user/_sign_up.scss from line 15:1 of app/assets/stylesheets/application.scss
>> margin: 0 auto:
--------------^
):
7: <%= csp_meta_tag %> 8: 9: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 11: 12: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %> 13: </head>
app/assets/stylesheets/user/_sign_up.scss:7 app/views/layouts/application.html.erb:10 Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:35 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.3ms | Allocations: 13269)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1422.6ms | Allocations: 104553)
Completed 200 OK in 1424ms (Views: 1423.2ms | Allocations: 105100)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:44 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13269)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1211.3ms | Allocations: 104053)
Completed 200 OK in 1213ms (Views: 1211.9ms | Allocations: 104603)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:31:50 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.9ms | Allocations: 13289)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1139.6ms | Allocations: 103603)
Completed 200 OK in 1141ms (Views: 1140.2ms | Allocations: 104153)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:32:25 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.3ms | Allocations: 13272)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1149.0ms | Allocations: 104081)
Completed 200 OK in 1150ms (Views: 1149.4ms | Allocations: 104630)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:33:07 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.5ms | Allocations: 14090)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1176.7ms | Allocations: 105783)
Completed 200 OK in 1182ms (Views: 1181.2ms | Allocations: 107467)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:33:23 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.6ms | Allocations: 13277)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1248.9ms | Allocations: 104063)
Completed 200 OK in 1250ms (Views: 1249.5ms | Allocations: 104612)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:33:35 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1175.3ms | Allocations: 104080)
Completed 200 OK in 1177ms (Views: 1175.8ms | Allocations: 104629)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:33:49 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.0ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1140.8ms | Allocations: 105531)
Completed 200 OK in 1142ms (Views: 1141.4ms | Allocations: 106080)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:34:16 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 22.4ms | Allocations: 14089)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 901) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 26081)
Completed 200 OK in 52ms (Views: 50.2ms | Allocations: 27765)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:35:19 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.8ms | Allocations: 13257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 639) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1184.9ms | Allocations: 103581)
Completed 200 OK in 1187ms (Views: 1185.7ms | Allocations: 104129)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:35:47 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.0ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 24386)
Completed 200 OK in 37ms (Views: 35.5ms | Allocations: 24937)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:35:51 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.8ms | Allocations: 13225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 24340)
Completed 200 OK in 33ms (Views: 32.2ms | Allocations: 24887)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:35:54 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.8ms | Allocations: 13225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1145.0ms | Allocations: 103548)
Completed 200 OK in 1147ms (Views: 1145.6ms | Allocations: 104095)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:36:00 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.5ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1195.8ms | Allocations: 104054)
Completed 200 OK in 1197ms (Views: 1196.4ms | Allocations: 104604)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:36:12 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.5ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1145.3ms | Allocations: 104090)
Completed 200 OK in 1147ms (Views: 1145.9ms | Allocations: 104639)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:36:22 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.7ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 635) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1177.0ms | Allocations: 104092)
Completed 200 OK in 1179ms (Views: 1177.6ms | Allocations: 104641)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:36:36 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 15.9ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1261.8ms | Allocations: 105039)
Completed 200 OK in 1263ms (Views: 1262.4ms | Allocations: 105588)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:36:42 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.7ms | Allocations: 13268)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 636) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1170.6ms | Allocations: 104580)
Completed 200 OK in 1172ms (Views: 1171.3ms | Allocations: 105129)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:37:24 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.5ms | Allocations: 14092)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 902) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 26086)
Completed 200 OK in 43ms (Views: 42.1ms | Allocations: 27770)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:37:39 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 19.6ms | Allocations: 13241)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 641) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1180.0ms | Allocations: 103584)
Completed 200 OK in 1182ms (Views: 1180.8ms | Allocations: 104133)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:39:15 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 20.0ms | Allocations: 14099)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 902) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 26093)
Completed 200 OK in 42ms (Views: 40.8ms | Allocations: 27777)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:39:36 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 16.2ms | Allocations: 13235)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 641) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1174.3ms | Allocations: 104031)
Completed 200 OK in 1176ms (Views: 1174.8ms | Allocations: 104579)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:39:49 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 220) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.0ms | Allocations: 9118)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 20241)
Completed 200 OK in 38ms (Views: 36.7ms | Allocations: 21540)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:39:50 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.1ms | Allocations: 8591)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 634) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 19719)
Completed 200 OK in 31ms (Views: 30.0ms | Allocations: 20315)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:41:21 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.0ms | Allocations: 9311)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 901) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.7ms | Allocations: 21303)
Completed 200 OK in 35ms (Views: 33.7ms | Allocations: 23040)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:41:54 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.5ms | Allocations: 9318)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 904) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 21322)
Completed 200 OK in 35ms (Views: 33.6ms | Allocations: 23047)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:42:12 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 252ms (ActiveRecord: 13.3ms | Allocations: 9770)
Started GET “/” for ::1 at 2022-01-29 21:42:13 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 12424)
Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.9ms | Allocations: 13474)
Started GET “/users/edit” for ::1 at 2022-01-29 21:42:42 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 22.8ms | Allocations: 14225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 630) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 42.9ms | Allocations: 26196)
Completed 200 OK in 51ms (Views: 45.8ms | ActiveRecord: 1.0ms | Allocations: 28504)
Started GET “/users/edit” for ::1 at 2022-01-29 21:43:40 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 16.3ms | Allocations: 13992)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 895) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 25949)
Completed 200 OK in 39ms (Views: 35.4ms | ActiveRecord: 0.9ms | Allocations: 28809)
Started GET “/users/edit” for ::1 at 2022-01-29 21:44:01 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 18.5ms | Allocations: 14016)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 894) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 25977)
Completed 200 OK in 51ms (Views: 41.0ms | ActiveRecord: 2.4ms | Allocations: 28843)
Started GET “/users/edit” for ::1 at 2022-01-29 21:44:37 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 15.1ms | Allocations: 13598)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 632) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1419.7ms | Allocations: 104341)
Completed 200 OK in 1425ms (Views: 1420.2ms | ActiveRecord: 1.1ms | Allocations: 106072)
Started GET “/users/edit” for ::1 at 2022-01-29 21:45:06 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 18.1ms | Allocations: 14047)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 893) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 25991)
Completed 200 OK in 47ms (Views: 42.5ms | ActiveRecord: 1.0ms | Allocations: 28856)
Started GET “/users/edit” for ::1 at 2022-01-29 21:45:19 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 17.7ms | Allocations: 14025)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 894) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 25981)
Completed 200 OK in 45ms (Views: 39.6ms | ActiveRecord: 0.9ms | Allocations: 28858)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:45:35 -0500 Processing by Devise::SessionsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms | Allocations: 1599)
Started GET “/” for ::1 at 2022-01-29 21:45:35 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.4ms | Allocations: 152)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 5.5ms | Allocations: 1763) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 26.2ms | Allocations: 12579)
Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 1.8ms | Allocations: 14330)
Started GET “/users/edit” for ::1 at 2022-01-29 21:45:37 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 20.0ms | Allocations: 13598)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 628) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 25550)
Completed 200 OK in 46ms (Views: 39.1ms | ActiveRecord: 1.0ms | Allocations: 27294)
Started GET “/users/edit” for ::1 at 2022-01-29 21:46:14 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 17.6ms | Allocations: 13611)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 625) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1173.0ms | Allocations: 95449)
Completed 200 OK in 1179ms (Views: 1173.8ms | ActiveRecord: 1.0ms | Allocations: 97179)
Started GET “/users/edit” for ::1 at 2022-01-29 21:46:32 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.5ms | Allocations: 14054)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 895) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 25999)
Completed 200 OK in 45ms (Views: 40.7ms | ActiveRecord: 1.0ms | Allocations: 28865)
Started GET “/users/edit” for ::1 at 2022-01-29 21:46:35 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 15.7ms | Allocations: 13601)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 628) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 24667)
Completed 200 OK in 35ms (Views: 30.8ms | ActiveRecord: 0.9ms | Allocations: 26398)
Started GET “/users/edit” for ::1 at 2022-01-29 21:47:20 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 20.8ms | Allocations: 14025)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 895) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.3ms | Allocations: 25979)
Completed 200 OK in 46ms (Views: 41.5ms | ActiveRecord: 0.8ms | Allocations: 28835)
Started DELETE “/users/sign_out” for ::1 at 2022-01-29 21:47:28 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 16ms (ActiveRecord: 0.8ms | Allocations: 4363)
Started GET “/” for ::1 at 2022-01-29 21:47:28 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 676) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 15.2ms | Allocations: 11346)
Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms | Allocations: 12315)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:47:30 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 2.2ms | Allocations: 585) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.9ms | Allocations: 10101)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 21329)
Completed 200 OK in 36ms (Views: 35.2ms | ActiveRecord: 0.0ms | Allocations: 22506)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:47:35 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 108) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 22.9ms | Allocations: 13589)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 641) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 41.8ms | Allocations: 25594)
Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms | Allocations: 26263)
Started GET “/users/sign_up” for ::1 at 2022-01-29 21:48:01 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 483) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.8ms | Allocations: 14106)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 904) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 26106)
Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.0ms | Allocations: 27791)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:48:05 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.4ms | Allocations: 8869)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 637) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 20819)
Completed 200 OK in 36ms (Views: 34.6ms | ActiveRecord: 0.0ms | Allocations: 21990)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:48:18 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.1ms | Allocations: 9337)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 21337)
Completed 200 OK in 37ms (Views: 36.6ms | ActiveRecord: 0.0ms | Allocations: 23064)
Started GET “/users/sign_in” for ::1 at 2022-01-29 21:48:27 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.8ms | Allocations: 8626)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 640) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.8ms | Allocations: 19755)
Completed 200 OK in 27ms (Views: 26.3ms | ActiveRecord: 0.0ms | Allocations: 20355)
Started POST “/users/sign_in” for ::1 at 2022-01-29 21:48:46 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 219ms (ActiveRecord: 1.0ms | Allocations: 3449)
Started GET “/” for ::1 at 2022-01-29 21:48:46 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 108)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 15.8ms | Allocations: 12436)
Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.8ms | Allocations: 13409)
Started GET “/” for ::1 at 2022-01-29 21:51:28 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 25.6ms | Allocations: 8482) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 42.9ms | Allocations: 19719)
Completed 200 OK in 48ms (Views: 32.0ms | ActiveRecord: 12.9ms | Allocations: 21455)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/” for ::1 at 2022-01-29 21:51:46 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 9.2ms | Allocations: 1763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 12360)
Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 1.5ms | Allocations: 12749)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/” for ::1 at 2022-01-29 21:52:10 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:10 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2027) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 13296)
Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.8ms | Allocations: 14485)
Started GET “/” for ::1 at 2022-01-29 21:53:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 9.8ms | Allocations: 5193) Rendered layout layouts/application.html.erb (Duration: 31.6ms | Allocations: 16074)
Completed 500 Internal Server Error in 34ms (ActiveRecord: 0.0ms | Allocations: 17228)
ActionView::Template::Error (undefined local variable or method `books_path' for #<ActionView::Base:0x0000000000f6b8>):
10: <%= link_to 'Home', root_path, class: 'nav-link' %> 11: </li> 12: <li class="nav-item"> 13: <%= link_to 'Libros', books_path, class: 'nav-link' %> 14: </li> 15: <li class="nav-item"> 16: <%= link_to 'Órdenes', orders_path, class: 'nav-link' %>
app/views/shared/_navbar.html.erb:13 app/views/layouts/application.html.erb:16 Started GET “/” for ::1 at 2022-01-29 21:55:13 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 8.3ms | Allocations: 5233) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 16077)
Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms | Allocations: 17784)
ActionView::Template::Error (undefined local variable or method `carts_path' for #<ActionView::Base:0x000000000115f8>):
13: <%= link_to 'Products', products_path, class: 'nav-link' %> 14: </li> 15: <li class="nav-item"> 16: <%= link_to 'Cart', carts_path, class: 'nav-link' %> 17: </li> 18: </ul> 19:
app/views/shared/_navbar.html.erb:16 app/views/layouts/application.html.erb:16 Started GET “/” for ::1 at 2022-01-29 21:55:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:19 Rendered shared/_navbar.html.erb (Duration: 19.2ms | Allocations: 8225) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 19488)
Completed 200 OK in 39ms (Views: 30.4ms | ActiveRecord: 7.7ms | Allocations: 20676)
Started GET “/” for ::1 at 2022-01-29 21:55:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:19 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.7ms | Allocations: 12399)
Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.7ms | Allocations: 12792)
Started GET “/products” for ::1 at 2022-01-29 21:55:52 -0500
AbstractController::ActionNotFound (The action 'index' could not be found for ProductsController Did you mean? configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/” for ::1 at 2022-01-29 21:55:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:19 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 12557)
Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.9ms | Allocations: 13621)
Started GET “/” for ::1 at 2022-01-29 22:23:46 -0500
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
ActiveRecord::PendingMigrationError (
Migrations are pending. To resolve this issue, run:
bin/rails db:migrate RAILS_ENV=development
You have 2 pending migrations:
20220130030530_add_likes_to_products.rb 20220130030723_create_reviews.rb
):
activerecord (6.1.4.4) lib/active_record/migration.rb:625:in `check_pending!' activerecord (6.1.4.4) lib/active_record/migration.rb:590:in `block (2 levels) in call' activesupport (6.1.4.4) lib/active_support/evented_file_update_checker.rb:59:in `execute' activesupport (6.1.4.4) lib/active_support/evented_file_update_checker.rb:65:in `execute_if_updated' activerecord (6.1.4.4) lib/active_record/migration.rb:597:in `block in call' activerecord (6.1.4.4) lib/active_record/migration.rb:587:in `synchronize' activerecord (6.1.4.4) lib/active_record/migration.rb:587:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread'
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to AddLikesToProducts (20220130030530)
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.8ms)[0m [1m[35mALTER TABLE "products" ADD "likes" integer DEFAULT 0[0m
[1m[36mActiveRecord::SchemaMigration Create (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130030530"]]
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateReviews (20220130030723)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
, CONSTRAINT “fk_rails_74a66bd6c5” FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130030723"]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/” for ::1 at 2022-01-29 22:23:58 -0500
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.4ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:19 Rendered shared/_navbar.html.erb (Duration: 33.2ms | Allocations: 8460) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 67.0ms | Allocations: 19683)
Completed 200 OK in 76ms (Views: 58.2ms | ActiveRecord: 12.3ms | Allocations: 21417)
Started GET “/products” for ::1 at 2022-01-29 22:24:01 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:4 Rendered products/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 905)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1432) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 12881)
Completed 200 OK in 35ms (Views: 24.3ms | ActiveRecord: 3.2ms | Allocations: 16322)
Started GET “/products” for ::1 at 2022-01-29 22:27:17 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:4 Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 827)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1001) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.7ms | Allocations: 12979)
Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 1.9ms | Allocations: 15443)
Started GET “/products” for ::1 at 2022-01-29 22:27:20 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:4 Rendered products/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 701)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 691) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.5ms | Allocations: 11943)
Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 1.6ms | Allocations: 13613)
Started GET “/products” for ::1 at 2022-01-29 22:27:38 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.2ms | Allocations: 891)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 999) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.8ms | Allocations: 13040)
Completed 200 OK in 33ms (Views: 27.0ms | ActiveRecord: 2.2ms | Allocations: 15505)
Started GET “/products” for ::1 at 2022-01-29 22:27:51 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 891)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 994) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 17.9ms | Allocations: 13038)
Completed 200 OK in 25ms (Views: 19.0ms | ActiveRecord: 1.9ms | Allocations: 15508)
Started GET “/products” for ::1 at 2022-01-29 22:27:53 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 738)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 678) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.4ms | Allocations: 11961)
Completed 200 OK in 20ms (Views: 15.9ms | ActiveRecord: 1.6ms | Allocations: 13631)
Started GET “/products/new” for ::1 at 2022-01-29 22:28:04 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 0.9ms | Allocations: 1228) Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 1335)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 6.7ms | Allocations: 8122)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Insert new product</h1>
<%= simple_form_for(book) do |f| %>
<div class="form-inputs"> <%= f.input :sku %> <%= f.input :name %> <%= f.input :description %> <%= f.input :price %> <%= f.input :stock %> </div> <div class="form-actions"> <%= f.submit, class: 'btn btn-primary' %> </div>
<% end %> ): 1: <h1>Insert new product</h1> 2:
3: <%= simple_form_for(book) do |f| %> 4: <div class=“form-inputs”> 5: <%= f.input :sku %> 6: <%= f.input :name %> 7: <%= f.input :description %> 8: <%= f.input :price %> 9: <%= f.input :stock %> 10: </div> 11:
12: <div class=“form-actions”> 13: <%= f.submit, class: 'btn btn-primary' %> 14: </div> 15: <% end %>
app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' app/views/products/new.html.erb:13: syntax error, unexpected tLABEL, expecting '=' Started GET “/products/new” for ::1 at 2022-01-29 22:28:30 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 5.0ms | Allocations: 4483) Rendered layout layouts/application.html.erb (Duration: 5.2ms | Allocations: 4547)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms | Allocations: 6992)
ActionView::Template::Error (undefined local variable or method `book' for #<ActionView::Base:0x00000000014c30>):
1: <h1>Insert new product</h1> 2: 3: <%= simple_form_for(book) do |f| %> 4: <div class="form-inputs"> 5: <%= f.input :sku %> 6: <%= f.input :name %>
app/views/products/new.html.erb:3 Started GET “/products/new” for ::1 at 2022-01-29 22:28:38 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 5.9ms | Allocations: 4665) Rendered layout layouts/application.html.erb (Duration: 6.1ms | Allocations: 4729)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms | Allocations: 7174)
ActionView::Template::Error (undefined local variable or method `product' for #<ActionView::Base:0x00000000015068> Did you mean? @product):
1: <h1>Insert new product</h1> 2: 3: <%= simple_form_for(product) do |f| %> 4: <div class="form-inputs"> 5: <%= f.input :sku %> 6: <%= f.input :name %>
app/views/products/new.html.erb:3 Started GET “/products/new” for ::1 at 2022-01-29 22:28:55 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 13.2ms | Allocations: 10542)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 994) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 22597)
Completed 200 OK in 44ms (Views: 38.3ms | ActiveRecord: 0.8ms | Allocations: 25070)
Started GET “/products” for ::1 at 2022-01-29 22:29:00 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.3ms | Allocations: 886)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 678) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 12996)
Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 1.9ms | Allocations: 14793)
Started GET “/products/new” for ::1 at 2022-01-29 22:29:01 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 15.3ms | Allocations: 9567)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 21561)
Completed 200 OK in 41ms (Views: 36.1ms | ActiveRecord: 1.3ms | Allocations: 23240)
Started GET “/products/new” for ::1 at 2022-01-29 22:29:38 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 11.2ms | Allocations: 9780)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 994) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 21835)
Completed 200 OK in 35ms (Views: 30.7ms | ActiveRecord: 0.7ms | Allocations: 24308)
Started GET “/products/new” for ::1 at 2022-01-29 22:30:15 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 11.7ms | Allocations: 9770)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 992) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 46.2ms | Allocations: 21810)
Completed 200 OK in 54ms (Views: 48.3ms | ActiveRecord: 0.9ms | Allocations: 24277)
Started GET “/products/new” for ::1 at 2022-01-29 22:30:22 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 11.1ms | Allocations: 9814)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 994) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.6ms | Allocations: 21869)
Completed 200 OK in 36ms (Views: 29.7ms | ActiveRecord: 0.9ms | Allocations: 24343)
Started GET “/products” for ::1 at 2022-01-29 22:30:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.4ms | Allocations: 887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 680) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 12114)
Completed 200 OK in 28ms (Views: 22.2ms | ActiveRecord: 1.8ms | Allocations: 13911)
Started GET “/products/new” for ::1 at 2022-01-29 22:30:57 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.4ms | Allocations: 9548)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 21539)
Completed 200 OK in 44ms (Views: 38.5ms | ActiveRecord: 1.0ms | Allocations: 23217)
Started GET “/products/new” for ::1 at 2022-01-29 22:31:13 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 10.4ms | Allocations: 9796)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 21854)
Completed 200 OK in 35ms (Views: 30.6ms | ActiveRecord: 0.8ms | Allocations: 24328)
Started GET “/products/new” for ::1 at 2022-01-29 22:31:21 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 9771)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.4ms | Allocations: 21827)
Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 0.8ms | Allocations: 24301)
Started GET “/products/new” for ::1 at 2022-01-29 22:32:00 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 24.3ms | Allocations: 14081)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 1000) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 26140)
Completed 200 OK in 50ms (Views: 45.3ms | ActiveRecord: 0.8ms | Allocations: 28608)
Started GET “/products/new” for ::1 at 2022-01-29 22:32:06 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 14.8ms | Allocations: 11700)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 679) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 22833)
Completed 200 OK in 33ms (Views: 29.2ms | ActiveRecord: 0.7ms | Allocations: 24508)
Started GET “/products/new” for ::1 at 2022-01-29 22:32:25 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 13.1ms | Allocations: 11749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 994) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 23803)
Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 0.8ms | Allocations: 26277)
Started POST “/products” for ::1 at 2022-01-29 22:34:54 -0500
AbstractController::ActionNotFound (The action 'create' could not be found for ProductsController Did you mean? configure_permitted_parameters
new index show):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/new” for ::1 at 2022-01-29 22:38:20 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 12.3ms | Allocations: 11558)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 679) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 22691)
Completed 200 OK in 51ms (Views: 29.6ms | ActiveRecord: 12.0ms | Allocations: 27667)
Started POST “/products” for ::1 at 2022-01-29 22:39:05 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123456", "name"=>"My first product", "description"=>"Some description", "price"=>"10", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mProduct Create (3.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "123456"], ["name", "My first product"], ["description", "Some description"], ["price", 10.0], ["stock", 2], ["created_at", "2022-01-30 03:39:05.583837"], ["updated_at", "2022-01-30 03:39:05.583837"]]
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:17:in `create'
Redirected to localhost:3000/products/1 Completed 302 Found in 51ms (ActiveRecord: 26.1ms | Allocations: 15796)
Started GET “/products/1” for ::1 at 2022-01-29 22:39:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.8ms | Allocations: 131)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 697) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 15.3ms | Allocations: 11380)
Completed 200 OK in 21ms (Views: 16.0ms | ActiveRecord: 1.3ms | Allocations: 14020)
Started GET “/products” for ::1 at 2022-01-29 22:39:09 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 901)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 682) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.9ms | Allocations: 13022)
Completed 200 OK in 31ms (Views: 23.3ms | ActiveRecord: 2.3ms | Allocations: 14821)
Started GET “/products/new” for ::1 at 2022-01-29 22:39:16 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 19.2ms | Allocations: 11872)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 673) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 23872)
Completed 200 OK in 43ms (Views: 38.8ms | ActiveRecord: 1.0ms | Allocations: 25550)
Started POST “/products” for ::1 at 2022-01-29 22:39:37 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123456", "name"=>"Second product", "description"=>"Some description", "price"=>"12", "stock"=>"4"}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "123456"], ["name", "Second product"], ["description", "Some description"], ["price", 12.0], ["stock", 4], ["created_at", "2022-01-30 03:39:37.402268"], ["updated_at", "2022-01-30 03:39:37.402268"]]
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:17:in `create'
Redirected to localhost:3000/products/2 Completed 302 Found in 10ms (ActiveRecord: 3.5ms | Allocations: 3820)
Started GET “/products/2” for ::1 at 2022-01-29 22:39:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 684) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 13.9ms | Allocations: 11261)
Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 1.3ms | Allocations: 13505)
Started GET “/products” for ::1 at 2022-01-29 22:39:39 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 677) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 12882)
Completed 200 OK in 28ms (Views: 24.1ms | ActiveRecord: 1.5ms | Allocations: 14555)
Started GET “/products” for ::1 at 2022-01-29 22:48:45 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.0ms | Allocations: 12038)
Completed 200 OK in 39ms (Views: 15.2ms | ActiveRecord: 13.8ms | Allocations: 16993)
Started GET “/products/new” for ::1 at 2022-01-29 22:48:48 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 15.4ms | Allocations: 11549)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 673) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 23554)
Completed 200 OK in 38ms (Views: 32.2ms | ActiveRecord: 1.2ms | Allocations: 25231)
Started GET “/products/1” for ::1 at 2022-01-29 22:49:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 682) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.1ms | Allocations: 11262)
Completed 200 OK in 23ms (Views: 16.6ms | ActiveRecord: 1.7ms | Allocations: 13508)
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
Started GET “/products” for ::1 at 2022-01-29 22:49:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.0ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 677) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 12883)
Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 2.4ms | Allocations: 14556)
Started GET “/products” for ::1 at 2022-01-29 22:55:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.1ms | Allocations: 989)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 13142)
Completed 200 OK in 59ms (Views: 28.8ms | ActiveRecord: 17.1ms | Allocations: 18894)
ActionController::RoutingError (No route matches [GET] “/assets/images/products.webp”):
Started GET “/products” for ::1 at 2022-01-29 23:00:24 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.5ms | Allocations: 929)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 997) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.4ms | Allocations: 13091)
Completed 200 OK in 35ms (Views: 27.7ms | ActiveRecord: 2.3ms | Allocations: 15560)
ActionController::RoutingError (No route matches [GET] “/assets/images/snack_store.png”):
Started GET “/products” for ::1 at 2022-01-29 23:00:25 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 766)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 684) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 12010)
Completed 200 OK in 25ms (Views: 20.5ms | ActiveRecord: 2.1ms | Allocations: 13679)
ActionController::RoutingError (No route matches [GET] “/assets/images/snack_store.png”):
Started GET “/products” for ::1 at 2022-01-29 23:00:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 929)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 998) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 13092)
Completed 200 OK in 26ms (Views: 19.8ms | ActiveRecord: 1.9ms | Allocations: 15560)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:00:47 -0500
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.5ms | Allocations: 5506)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1036) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 208) Rendered layout layouts/application.html.erb (Duration: 242.0ms | Allocations: 58605)
Completed 200 OK in 283ms (Views: 239.3ms | ActiveRecord: 15.4ms | Allocations: 71316)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:13 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 931)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1000) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 13140)
Completed 200 OK in 34ms (Views: 27.4ms | ActiveRecord: 1.8ms | Allocations: 15625)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:19 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 931)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 13132)
Completed 200 OK in 27ms (Views: 20.4ms | ActiveRecord: 2.0ms | Allocations: 15600)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.0ms | Allocations: 935)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 996) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.9ms | Allocations: 13146)
Completed 200 OK in 28ms (Views: 22.5ms | ActiveRecord: 1.9ms | Allocations: 15636)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:41 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 766)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 682) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 12050)
Completed 200 OK in 25ms (Views: 18.2ms | ActiveRecord: 2.6ms | Allocations: 13741)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:53 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 935)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 997) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 18.2ms | Allocations: 13145)
Completed 200 OK in 25ms (Views: 19.6ms | ActiveRecord: 1.9ms | Allocations: 15614)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
Started GET “/products” for ::1 at 2022-01-29 23:01:57 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.8ms | Allocations: 766)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 682) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.6ms | Allocations: 12056)
Completed 200 OK in 22ms (Views: 16.6ms | ActiveRecord: 2.1ms | Allocations: 13726)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.0ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 677) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 12044)
Completed 200 OK in 20ms (Views: 15.7ms | ActiveRecord: 1.7ms | Allocations: 13729)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 1692)
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1128)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 943) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 113.7ms | Allocations: 85910)
Completed 200 OK in 118ms (Views: 113.2ms | ActiveRecord: 1.9ms | Allocations: 88645)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.7ms | Allocations: 17835)
Completed 200 OK in 60ms (Views: 21.8ms | ActiveRecord: 22.5ms | Allocations: 37490)
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.5ms | Allocations: 11982)
Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 1.6ms | Allocations: 13651)
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (4.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 2802)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.4ms | Allocations: 8220)
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1322) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 169.3ms | Allocations: 126823)
Completed 200 OK in 174ms (Views: 165.5ms | ActiveRecord: 5.2ms | Allocations: 128520)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 2059) [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) ↳ app/views/products/index.html.erb:8 Rendered layout layouts/application.html.erb (Duration: 99.4ms | Allocations: 70137) Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1305)
Completed 200 OK in 105ms (Views: 99.0ms | ActiveRecord: 3.1ms | Allocations: 74008)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.4ms | Allocations: 13367)
Completed 200 OK in 43ms (Views: 16.8ms | ActiveRecord: 15.5ms | Allocations: 27691)
Started GET “/products” for ::1 at 2022-01-29 23:01:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 1.5ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 679) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.8ms | Allocations: 11998)
Completed 200 OK in 23ms (Views: 18.5ms | ActiveRecord: 1.5ms | Allocations: 13668)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
Started GET “/products” for ::1 at 2022-01-29 23:01:59 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 677) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.5ms | Allocations: 12043)
Completed 200 OK in 22ms (Views: 16.9ms | ActiveRecord: 1.9ms | Allocations: 13713)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo”):
Started GET “/products” for ::1 at 2022-01-29 23:03:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1557)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.7ms | Allocations: 13447)
Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 2.0ms | Allocations: 15917)
ActionController::RoutingError (No route matches [GET] “/assets/images/icon_gabo.png”):
Started GET “/products” for ::1 at 2022-01-29 23:04:34 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 0.9ms | Allocations: 1220) Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 1285)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.1ms | Allocations: 3732)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:04:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 1210) Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 1275)
Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.0ms | Allocations: 2917)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:04:54 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2058)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.9ms | Allocations: 13948)
Completed 200 OK in 30ms (Views: 23.5ms | ActiveRecord: 2.0ms | Allocations: 16416)
Started GET “/products” for ::1 at 2022-01-29 23:05:49 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.3ms | Allocations: 1220) Rendered layout layouts/application.html.erb (Duration: 1.9ms | Allocations: 1285)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.1ms | Allocations: 3721)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class:'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class:'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:05:55 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 1220) Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 1285)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.8ms | Allocations: 3726)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:06:03 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 1221) Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 1286)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.7ms | Allocations: 3727)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<% image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <% image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting `end' Started GET “/products” for ::1 at 2022-01-29 23:06:08 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.3ms | Allocations: 1220) Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 1285)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.9ms | Allocations: 3726)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:06:09 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 1210) Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 1275)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.0ms | Allocations: 2916)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Products</h1>
<div class=“text-right”>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<ul>
<% @products.each do |product| %> <li><%= product.name %></li> <% end %>
</ul>
<%= image_tag('icon_gabo') %>
<div class=“card” style=“width: 18rem;”>
<%= image_tag('snack_store'), class: 'card-img-top' %>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div> ): 1: <h1>Products</h1> 2:
3: <div class=“text-right”> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div> 6:
7: <ul> 8: <% @products.each do |product| %> 9: <li><%= product.name %></li> 10: <% end %> 11: </ul> 12:
13: <%= image_tag('icon_gabo') %> 14:
15: <div class=“card” style=“width: 18rem;”> 16: <%= image_tag('snack_store'), class: 'card-img-top' %> 17: <div class=“card-body”> 18: <h5 class=“card-title”>Card title</h5> 19: <p class=“card-text”>Some quick example text to build on the card title and make up the bulk of the card's content.</p> 20: <a href=“#” class=“btn btn-primary”>Go somewhere</a> 21: </div> 22: </div>
app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' app/views/products/index.html.erb:16: syntax error, unexpected ',', expecting ')' Started GET “/products” for ::1 at 2022-01-29 23:06:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.6ms | Allocations: 2065)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.4ms | Allocations: 13955)
Completed 200 OK in 37ms (Views: 30.8ms | ActiveRecord: 1.9ms | Allocations: 16423)
Started GET “/products” for ::1 at 2022-01-29 23:07:35 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2062)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 13893)
Completed 200 OK in 37ms (Views: 30.4ms | ActiveRecord: 1.8ms | Allocations: 16356)
Started GET “/products” for ::1 at 2022-01-29 23:07:43 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.5ms | Allocations: 1571)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 973) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 13658)
Completed 200 OK in 26ms (Views: 20.5ms | ActiveRecord: 1.6ms | Allocations: 16128)
Started GET “/products” for ::1 at 2022-01-29 23:09:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 1851)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 969) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.1ms | Allocations: 13934)
Completed 200 OK in 38ms (Views: 32.2ms | ActiveRecord: 2.0ms | Allocations: 16403)
Started GET “/products” for ::1 at 2022-01-29 23:10:57 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 1923)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 969) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 13947)
Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 1.6ms | Allocations: 16410)
Started GET “/products/1” for ::1 at 2022-01-29 23:11:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 248)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 697) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 11571)
Completed 200 OK in 29ms (Views: 21.2ms | ActiveRecord: 1.7ms | Allocations: 14788)
Started GET “/products” for ::1 at 2022-01-29 23:11:29 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 1937)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 971) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 14022)
Completed 200 OK in 45ms (Views: 37.8ms | ActiveRecord: 2.5ms | Allocations: 16492)
Started GET “/products” for ::1 at 2022-01-29 23:11:49 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 3.8ms | Allocations: 1930)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 969) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.5ms | Allocations: 14013)
Completed 200 OK in 27ms (Views: 21.3ms | ActiveRecord: 1.7ms | Allocations: 16482)
Started GET “/products” for ::1 at 2022-01-29 23:12:18 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 1948)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 974) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 14039)
Completed 200 OK in 30ms (Views: 23.8ms | ActiveRecord: 1.9ms | Allocations: 16503)
Started GET “/products” for ::1 at 2022-01-29 23:12:46 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:7 Rendered products/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 1950)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 974) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.3ms | Allocations: 14036)
Completed 200 OK in 29ms (Views: 22.5ms | ActiveRecord: 1.8ms | Allocations: 16506)
Started GET “/products” for ::1 at 2022-01-29 23:14:35 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 1971)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 971) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.9ms | Allocations: 14056)
Completed 200 OK in 28ms (Views: 22.3ms | ActiveRecord: 2.0ms | Allocations: 16526)
Started GET “/products” for ::1 at 2022-01-29 23:14:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.8ms | Allocations: 1736)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 659) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 12904)
Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 1.4ms | Allocations: 14575)
Started GET “/products” for ::1 at 2022-01-29 23:16:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.5ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1812.6ms | Allocations: 82713)
Completed 200 OK in 1817ms (Views: 1811.8ms | ActiveRecord: 1.9ms | Allocations: 84382)
Started GET “/products” for ::1 at 2022-01-29 23:17:03 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.1ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1196.2ms | Allocations: 86590)
Completed 200 OK in 1205ms (Views: 1195.6ms | ActiveRecord: 2.9ms | Allocations: 88259)
Started GET “/products” for ::1 at 2022-01-29 23:17:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 1730)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1183.8ms | Allocations: 90883)
Completed 200 OK in 1191ms (Views: 1182.5ms | ActiveRecord: 2.7ms | Allocations: 92552)
Started GET “/products” for ::1 at 2022-01-29 23:17:29 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 1731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 652) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 12890)
Completed 200 OK in 33ms (Views: 27.2ms | ActiveRecord: 1.8ms | Allocations: 14560)
Started GET “/products” for ::1 at 2022-01-29 23:17:46 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1163.5ms | Allocations: 92255)
Completed 200 OK in 1169ms (Views: 1162.6ms | ActiveRecord: 2.2ms | Allocations: 93924)
Started GET “/products” for ::1 at 2022-01-29 23:22:35 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.5ms | Allocations: 1730)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1437.1ms | Allocations: 92256)
Completed 200 OK in 1443ms (Views: 1436.6ms | ActiveRecord: 2.3ms | Allocations: 93925)
Started GET “/products” for ::1 at 2022-01-29 23:23:25 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 1972)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 969) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 14056)
Completed 200 OK in 33ms (Views: 26.5ms | ActiveRecord: 1.8ms | Allocations: 16525)
Started GET “/products” for ::1 at 2022-01-29 23:24:11 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 1963)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 977) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1144.2ms | Allocations: 93963)
Completed 200 OK in 1152ms (Views: 1145.3ms | ActiveRecord: 2.0ms | Allocations: 96426)
Started GET “/products” for ::1 at 2022-01-29 23:24:41 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.1ms | Allocations: 1734)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 659) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1393.0ms | Allocations: 92814)
Completed 200 OK in 1398ms (Views: 1392.6ms | ActiveRecord: 1.7ms | Allocations: 94484)
Started GET “/products” for ::1 at 2022-01-29 23:24:44 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 651) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 12886)
Completed 200 OK in 26ms (Views: 20.0ms | ActiveRecord: 1.9ms | Allocations: 14555)
Started GET “/products” for ::1 at 2022-01-29 23:24:45 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 650) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 12885)
Completed 200 OK in 22ms (Views: 17.2ms | ActiveRecord: 1.9ms | Allocations: 14554)
Started GET “/products” for ::1 at 2022-01-29 23:24:50 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1177.2ms | Allocations: 92708)
Completed 200 OK in 1182ms (Views: 1176.8ms | ActiveRecord: 1.7ms | Allocations: 94377)
Started GET “/products” for ::1 at 2022-01-29 23:24:52 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 16.7ms | Allocations: 1732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 12949)
Completed 200 OK in 36ms (Views: 30.8ms | ActiveRecord: 2.0ms | Allocations: 14619)
Started GET “/products” for ::1 at 2022-01-29 23:25:26 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 1728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1440.3ms | Allocations: 92319)
Completed 200 OK in 1445ms (Views: 1439.8ms | ActiveRecord: 1.9ms | Allocations: 93988)
Started GET “/products” for ::1 at 2022-01-29 23:25:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.1ms | Allocations: 1731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1149.5ms | Allocations: 93189)
Completed 200 OK in 1155ms (Views: 1148.8ms | ActiveRecord: 2.3ms | Allocations: 94858)
Started GET “/products” for ::1 at 2022-01-29 23:25:52 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 1731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1123.6ms | Allocations: 92266)
Completed 200 OK in 1128ms (Views: 1123.2ms | ActiveRecord: 1.8ms | Allocations: 93935)
Started GET “/products” for ::1 at 2022-01-29 23:26:14 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1123.3ms | Allocations: 92820)
Completed 200 OK in 1129ms (Views: 1122.7ms | ActiveRecord: 2.7ms | Allocations: 94489)
Started GET “/products” for ::1 at 2022-01-29 23:26:22 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 1732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1139.5ms | Allocations: 93256)
Completed 200 OK in 1144ms (Views: 1138.9ms | ActiveRecord: 2.0ms | Allocations: 94926)
Started GET “/products” for ::1 at 2022-01-29 23:26:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 1732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 650) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.7ms | Allocations: 12932)
Completed 200 OK in 25ms (Views: 19.1ms | ActiveRecord: 2.1ms | Allocations: 14601)
Started GET “/products/new” for ::1 at 2022-01-29 23:26:30 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 69.9ms | Allocations: 22671)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 679) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 83.6ms | Allocations: 33860)
Completed 200 OK in 90ms (Views: 84.3ms | ActiveRecord: 1.0ms | Allocations: 35670)
Started POST “/products” for ::1 at 2022-01-29 23:26:49 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123456", "name"=>"My first product", "description"=>"Some descrition", "price"=>"1", "stock"=>"12"}, "commit"=>"Add product"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mProduct Create (2.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "123456"], ["name", "My first product"], ["description", "Some descrition"], ["price", 1.0], ["stock", 12], ["created_at", "2022-01-30 04:26:49.605666"], ["updated_at", "2022-01-30 04:26:49.605666"]]
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mTRANSACTION (2.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:17:in `create'
Redirected to localhost:3000/products/3 Completed 302 Found in 15ms (ActiveRecord: 6.8ms | Allocations: 4097)
Started GET “/products/3” for ::1 at 2022-01-29 23:26:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.8ms | Allocations: 125)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 695) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 18.4ms | Allocations: 11482)
Completed 200 OK in 26ms (Views: 18.8ms | ActiveRecord: 2.3ms | Allocations: 13851)
Started GET “/products” for ::1 at 2022-01-29 23:26:51 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2074)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 650) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 14161)
Completed 200 OK in 27ms (Views: 21.7ms | ActiveRecord: 1.9ms | Allocations: 15834)
Started GET “/products/new” for ::1 at 2022-01-29 23:26:53 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 18.8ms | Allocations: 11513)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 85.8ms | Allocations: 23553)
Completed 200 OK in 90ms (Views: 86.2ms | ActiveRecord: 0.8ms | Allocations: 25230)
Started POST “/products” for ::1 at 2022-01-29 23:27:04 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123456", "name"=>"Product", "description"=>"Descriptio", "price"=>"3", "stock"=>"23"}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "123456"], ["name", "Product"], ["description", "Descriptio"], ["price", 3.0], ["stock", 23], ["created_at", "2022-01-30 04:27:04.408681"], ["updated_at", "2022-01-30 04:27:04.408681"]]
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:17:in `create'
Redirected to localhost:3000/products/4 Completed 302 Found in 10ms (ActiveRecord: 3.5ms | Allocations: 3820)
Started GET “/products/4” for ::1 at 2022-01-29 23:27:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 684) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 14.9ms | Allocations: 11323)
Completed 200 OK in 21ms (Views: 15.2ms | ActiveRecord: 1.5ms | Allocations: 13566)
Started GET “/products” for ::1 at 2022-01-29 23:27:05 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 14512)
Completed 200 OK in 27ms (Views: 22.5ms | ActiveRecord: 1.6ms | Allocations: 16185)
Started GET “/products/new” for ::1 at 2022-01-29 23:27:07 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.4ms | Allocations: 11511)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.9ms | Allocations: 23621)
Completed 200 OK in 41ms (Views: 34.4ms | ActiveRecord: 1.4ms | Allocations: 25298)
Started POST “/products” for ::1 at 2022-01-29 23:27:18 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"Productos", "description"=>"Descripciones1", "price"=>"2", "stock"=>"98"}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mProduct Create (2.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "12335"], ["name", "Productos"], ["description", "Descripciones1"], ["price", 2.0], ["stock", 98], ["created_at", "2022-01-30 04:27:18.447954"], ["updated_at", "2022-01-30 04:27:18.447954"]]
↳ app/controllers/products_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:17:in `create'
Redirected to localhost:3000/products/5 Completed 302 Found in 11ms (ActiveRecord: 4.6ms | Allocations: 3820)
Started GET “/products/5” for ::1 at 2022-01-29 23:27:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 684) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 15.2ms | Allocations: 11324)
Completed 200 OK in 21ms (Views: 15.6ms | ActiveRecord: 1.6ms | Allocations: 13566)
Started GET “/products” for ::1 at 2022-01-29 23:27:20 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 14835)
Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 2.2ms | Allocations: 16508)
Started GET “/products” for ::1 at 2022-01-29 23:27:28 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 14508)
Completed 200 OK in 25ms (Views: 19.7ms | ActiveRecord: 1.9ms | Allocations: 16178)
Started GET “/products” for ::1 at 2022-01-29 23:27:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1147.9ms | Allocations: 94744)
Completed 200 OK in 1152ms (Views: 1147.5ms | ActiveRecord: 1.7ms | Allocations: 96413)
Started GET “/products” for ::1 at 2022-01-29 23:27:58 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.8ms | Allocations: 13966)
Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 1.7ms | Allocations: 15636)
Started GET “/products” for ::1 at 2022-01-29 23:28:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1166.0ms | Allocations: 93820)
Completed 200 OK in 1170ms (Views: 1165.4ms | ActiveRecord: 1.9ms | Allocations: 95489)
Started GET “/products” for ::1 at 2022-01-29 23:28:49 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.5ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1149.0ms | Allocations: 93761)
Completed 200 OK in 1155ms (Views: 1148.6ms | ActiveRecord: 2.0ms | Allocations: 95430)
Started GET “/products” for ::1 at 2022-01-29 23:28:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1133.1ms | Allocations: 94296)
Completed 200 OK in 1138ms (Views: 1132.5ms | ActiveRecord: 1.8ms | Allocations: 95965)
Started GET “/products” for ::1 at 2022-01-29 23:29:02 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2753)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1151.4ms | Allocations: 94718)
Completed 200 OK in 1156ms (Views: 1150.9ms | ActiveRecord: 1.9ms | Allocations: 96388)
Started GET “/products” for ::1 at 2022-01-29 23:32:52 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1435.5ms | Allocations: 93285)
Completed 200 OK in 1442ms (Views: 1434.7ms | ActiveRecord: 3.0ms | Allocations: 94954)
Started GET “/products/1” for ::1 at 2022-01-29 23:33:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 685) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 11325)
Completed 200 OK in 26ms (Views: 18.2ms | ActiveRecord: 2.1ms | Allocations: 13570)
Started GET “/products/1” for ::1 at 2022-01-29 23:42:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 129)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 8.8ms | Allocations: 5279) Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 16229)
Completed 500 Internal Server Error in 82ms (ActiveRecord: 26.6ms | Allocations: 22602)
ActionView::Template::Error (undefined local variable or method `books_path' for #<ActionView::Base:0x00000000011dc8>):
15: </ul> 16: 17: <div> 18: <%= form_tag books_path,class: "d-flex", method: :get do %> 19: <%= text_field_tag :query, 20: params[:query], 21: class:"form-control",
app/views/shared/_navbar.html.erb:18 app/views/layouts/application.html.erb:16 Started GET “/products/1” for ::1 at 2022-01-29 23:43:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.5ms | Allocations: 122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1184) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 12571)
Completed 200 OK in 42ms (Views: 35.5ms | ActiveRecord: 1.6ms | Allocations: 15612)
Started GET “/products/1” for ::1 at 2022-01-29 23:43:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 1180) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 18.4ms | Allocations: 12506)
Completed 200 OK in 28ms (Views: 20.5ms | ActiveRecord: 1.9ms | Allocations: 15542)
Started GET “/products/1” for ::1 at 2022-01-29 23:43:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 125)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1183) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 17.5ms | Allocations: 12573)
Completed 200 OK in 27ms (Views: 19.5ms | ActiveRecord: 1.8ms | Allocations: 15616)
Started GET “/products/1” for ::1 at 2022-01-29 23:43:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 1181) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 16.5ms | Allocations: 12507)
Completed 200 OK in 25ms (Views: 18.6ms | ActiveRecord: 1.7ms | Allocations: 15544)
Started GET “/products/1” for ::1 at 2022-01-29 23:44:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1178) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 12563)
Completed 200 OK in 30ms (Views: 23.5ms | ActiveRecord: 1.9ms | Allocations: 15605)
Started GET “/products/1” for ::1 at 2022-01-29 23:44:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1184) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 202) Rendered layout layouts/application.html.erb (Duration: 19.6ms | Allocations: 12567)
Completed 200 OK in 28ms (Views: 21.7ms | ActiveRecord: 1.5ms | Allocations: 15604)
Started GET “/products/1” for ::1 at 2022-01-29 23:47:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.4ms | Allocations: 123)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.4ms | Allocations: 1191) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1568.0ms | Allocations: 84044)
Completed 200 OK in 1577ms (Views: 1570.2ms | ActiveRecord: 1.7ms | Allocations: 87086)
Started GET “/products/1” for ::1 at 2022-01-29 23:47:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.2ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 789) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1170.1ms | Allocations: 85414)
Completed 200 OK in 1178ms (Views: 1170.7ms | ActiveRecord: 1.8ms | Allocations: 87657)
Started GET “/products/1” for ::1 at 2022-01-29 23:47:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 780) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1173.8ms | Allocations: 88646)
Completed 200 OK in 1180ms (Views: 1174.2ms | ActiveRecord: 1.7ms | Allocations: 90888)
Started GET “/products” for ::1 at 2022-01-29 23:47:38 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3874)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.3ms | Allocations: 15244)
Completed 200 OK in 31ms (Views: 24.2ms | ActiveRecord: 2.5ms | Allocations: 17042)
Started GET “/” for ::1 at 2022-01-29 23:47:39 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 109)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1900) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 13505)
Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.9ms | Allocations: 14545)
Started GET “/products” for ::1 at 2022-01-29 23:47:39 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.1ms | Allocations: 2756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 14986)
Completed 200 OK in 41ms (Views: 31.3ms | ActiveRecord: 4.1ms | Allocations: 16660)
Started GET “/products” for ::1 at 2022-01-29 23:51:25 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 16.0ms | Allocations: 6886)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 753) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 18213)
Completed 200 OK in 66ms (Views: 31.4ms | ActiveRecord: 17.2ms | Allocations: 27838)
Started GET “/products” for ::1 at 2022-01-29 23:51:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.8ms | Allocations: 2750)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 14095)
Completed 200 OK in 31ms (Views: 26.0ms | ActiveRecord: 2.1ms | Allocations: 15775)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:51:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 1664)
Rendered layout layouts/application.html.erb (Duration: 6.9ms | Allocations: 1728)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms | Allocations: 3413)
ActionView::Template::Error (PG::UndefinedColumn: ERROR: column products.query does not exist LINE 1: SELECT “products”.* FROM “products” WHERE “products”.“query”…
^
):
5: </div>
6:
7: <div class='products-container'>
8: <% @products.each do |product| %>
9: <div class="card" style="width: 18rem;">
10: <%= image_tag('snack_store', class: 'card-img-top', style: 'background-color: black;') %>
11: <div class="card-body">
app/views/products/index.html.erb:8 Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:55:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."name" = $1[0m [["name", "my"]]
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 764)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 780) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 12217)
Completed 200 OK in 43ms (Views: 20.4ms | ActiveRecord: 9.2ms | Allocations: 22283)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:55:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."name" = $1[0m [["name", "my"]]
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.6ms | Allocations: 12171)
Completed 200 OK in 23ms (Views: 18.1ms | ActiveRecord: 1.6ms | Allocations: 13881)
Started GET “/products?query=My+first+product&commit=Search” for ::1 at 2022-01-29 23:55:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"My first product", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."name" = $1[0m [["name", "My first product"]]
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 10.5ms | Allocations: 5119)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 743) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 16414)
Completed 200 OK in 29ms (Views: 21.3ms | ActiveRecord: 4.4ms | Allocations: 18123)
Started GET “/products?query=My+first+product&commit=Search” for ::1 at 2022-01-29 23:56:04 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"My first product", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."name" = $1[0m [["name", "My first product"]]
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.0ms | Allocations: 1749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1532.3ms | Allocations: 93063)
Completed 200 OK in 1537ms (Views: 1531.6ms | ActiveRecord: 2.0ms | Allocations: 94773)
Started GET “/products?query=My+first+product&commit=Search” for ::1 at 2022-01-29 23:56:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"My first product", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (46.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%My first product%' OR description @@ '%My first product%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 59.6ms | Allocations: 5835)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 75.1ms | Allocations: 17104)
Completed 200 OK in 98ms (Views: 23.9ms | ActiveRecord: 59.6ms | Allocations: 26496)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-29 23:56:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 14043)
Completed 200 OK in 26ms (Views: 19.4ms | ActiveRecord: 2.3ms | Allocations: 15720)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:56:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%my%' OR description @@ '%my%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.4ms | Allocations: 12157)
Completed 200 OK in 22ms (Views: 15.7ms | ActiveRecord: 2.1ms | Allocations: 13867)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-29 23:56:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.6ms | Allocations: 14043)
Completed 200 OK in 24ms (Views: 18.9ms | ActiveRecord: 1.9ms | Allocations: 15720)
Started GET “/products?query=first&commit=Search” for ::1 at 2022-01-29 23:56:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"first", "commit"=>"Search"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%first%' OR description @@ '%first%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1736)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 13030)
Completed 200 OK in 24ms (Views: 17.7ms | ActiveRecord: 2.1ms | Allocations: 14740)
Started GET “/products?query=some&commit=Search” for ::1 at 2022-01-29 23:56:58 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"some", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%some%' OR description @@ '%some%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.1ms | Allocations: 12157)
Completed 200 OK in 21ms (Views: 15.5ms | ActiveRecord: 1.8ms | Allocations: 13867)
Started GET “/products?query=description&commit=Search” for ::1 at 2022-01-29 23:57:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"description", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%description%' OR description @@ '%description%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1736)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 13033)
Completed 200 OK in 30ms (Views: 23.8ms | ActiveRecord: 2.1ms | Allocations: 14744)
Started GET “/products?query=des&commit=Search” for ::1 at 2022-01-29 23:57:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"des", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%des%' OR description @@ '%des%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.6ms | Allocations: 12157)
Completed 200 OK in 22ms (Views: 16.0ms | ActiveRecord: 1.9ms | Allocations: 13867)
Started GET “/products?query=Some&commit=Search” for ::1 at 2022-01-29 23:57:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"Some", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%Some%' OR description @@ '%Some%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 15.9ms | Allocations: 12158)
Completed 200 OK in 21ms (Views: 15.1ms | ActiveRecord: 2.1ms | Allocations: 13868)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-29 23:57:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.4ms | Allocations: 14045)
Completed 200 OK in 24ms (Views: 18.7ms | ActiveRecord: 1.9ms | Allocations: 15723)
Started GET “/products?query=desc&commit=Search” for ::1 at 2022-01-29 23:57:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"desc", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%desc%' OR description @@ '%desc%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.5ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.1ms | Allocations: 12157)
Completed 200 OK in 21ms (Views: 15.2ms | ActiveRecord: 2.1ms | Allocations: 13867)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-29 23:57:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 14043)
Completed 200 OK in 26ms (Views: 20.1ms | ActiveRecord: 2.1ms | Allocations: 15720)
Started GET “/products?query=second&commit=Search” for ::1 at 2022-01-29 23:57:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"second", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%second%' OR description @@ '%second%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 3.4ms | Allocations: 1399)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.6ms | Allocations: 12695)
Completed 200 OK in 22ms (Views: 16.0ms | ActiveRecord: 1.9ms | Allocations: 14406)
Started GET “/products?query=My&commit=Search” for ::1 at 2022-01-29 23:58:08 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"My", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%My%' OR description @@ '%My%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 12157)
Completed 200 OK in 22ms (Views: 16.5ms | ActiveRecord: 2.0ms | Allocations: 13867)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:58:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%my%' OR description @@ '%my%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.9ms | Allocations: 12157)
Completed 200 OK in 22ms (Views: 16.2ms | ActiveRecord: 2.2ms | Allocations: 13867)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:58:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ 'my' OR description @@ 'my')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 748)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 12145)
Completed 200 OK in 40ms (Views: 18.3ms | ActiveRecord: 8.2ms | Allocations: 21514)
Started GET “/products?query=first&commit=Search” for ::1 at 2022-01-29 23:59:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"first", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ 'first' OR description @@ 'first')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 16.9ms | Allocations: 5824)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 17118)
Completed 200 OK in 39ms (Views: 26.5ms | ActiveRecord: 9.0ms | Allocations: 18828)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-29 23:59:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ 'my' OR description @@ 'my')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.3ms | Allocations: 12157)
Completed 200 OK in 22ms (Views: 15.9ms | ActiveRecord: 2.1ms | Allocations: 13868)
Started GET “/products?query=firs&commit=Search” for ::1 at 2022-01-29 23:59:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"firs", "commit"=>"Search"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ 'firs' OR description @@ 'firs')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 12157)
Completed 200 OK in 24ms (Views: 18.1ms | ActiveRecord: 2.4ms | Allocations: 13867)
Started GET “/products?query=firs&commit=Search” for ::1 at 2022-01-29 23:59:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"firs", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%firs%' OR description @@ '%firs%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.0ms | Allocations: 748)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 15.1ms | Allocations: 12145)
Completed 200 OK in 35ms (Views: 14.7ms | ActiveRecord: 7.2ms | Allocations: 21474)
Started GET “/products?query=first&commit=Search” for ::1 at 2022-01-29 23:59:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"first", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%first%' OR description @@ '%first%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 14.9ms | Allocations: 5825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 17119)
Completed 200 OK in 33ms (Views: 22.0ms | ActiveRecord: 7.4ms | Allocations: 18829)
Started GET “/products?query=first&commit=Search” for ::1 at 2022-01-29 23:59:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"first", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%first%' OR description @@ '%first%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1736)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.3ms | Allocations: 13033)
Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 2.5ms | Allocations: 14744)
Started GET “/products?query=fir&commit=Search” for ::1 at 2022-01-29 23:59:33 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"fir", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%fir%' OR description @@ '%fir%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 15.9ms | Allocations: 12165)
Completed 200 OK in 21ms (Views: 15.3ms | ActiveRecord: 1.8ms | Allocations: 13876)
Started GET “/products?query=fir&commit=Search” for ::1 at 2022-01-30 00:03:08 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Parameters: {"query"=>"fir", "commit"=>"Search"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (3.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%fir%' OR description @@ '%fir%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 1198)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1229) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 208) Rendered layout layouts/application.html.erb (Duration: 240.1ms | Allocations: 55144)
Completed 200 OK in 285ms (Views: 240.5ms | ActiveRecord: 13.4ms | Allocations: 67962)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:03:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 16.2ms | Allocations: 7171)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 18475)
Completed 200 OK in 36ms (Views: 24.8ms | ActiveRecord: 7.6ms | Allocations: 20173)
Started GET “/products?query=sec&commit=Search” for ::1 at 2022-01-30 00:03:12 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"sec", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name @@ '%sec%' OR description @@ '%sec%')[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.3ms | Allocations: 12157)
Completed 200 OK in 25ms (Views: 19.8ms | ActiveRecord: 2.0ms | Allocations: 13867)
Started GET “/products?query=sec&commit=Search” for ::1 at 2022-01-30 00:04:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"sec", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (7.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'sec' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'sec' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 20.8ms | Allocations: 5678)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 753) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 17007)
Completed 200 OK in 63ms (Views: 28.7ms | ActiveRecord: 19.3ms | Allocations: 27707)
Started GET “/products?query=my&commit=Search” for ::1 at 2022-01-30 00:04:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"my", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'my' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'my' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 1751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.9ms | Allocations: 13047)
Completed 200 OK in 24ms (Views: 16.8ms | ActiveRecord: 2.6ms | Allocations: 15179)
Started GET “/products?query=so&commit=Search” for ::1 at 2022-01-30 00:04:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"so", "commit"=>"Search"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'so' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'so' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.2ms | Allocations: 2093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.8ms | Allocations: 13389)
Completed 200 OK in 25ms (Views: 17.6ms | ActiveRecord: 3.0ms | Allocations: 15518)
Started GET “/products?query=some&commit=Search” for ::1 at 2022-01-30 00:04:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"some", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2091)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.7ms | Allocations: 13395)
Completed 200 OK in 31ms (Views: 23.4ms | ActiveRecord: 2.6ms | Allocations: 15506)
Started GET “/products?query=desc&commit=Search” for ::1 at 2022-01-30 00:04:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"desc", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'desc' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'desc' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2774)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 14069)
Completed 200 OK in 24ms (Views: 17.4ms | ActiveRecord: 2.5ms | Allocations: 16178)
Started GET “/products?query=descsom&commit=Search” for ::1 at 2022-01-30 00:04:58 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"descsom", "commit"=>"Search"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'descsom' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'descsom' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.7ms | Allocations: 756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 12182)
Completed 200 OK in 27ms (Views: 19.7ms | ActiveRecord: 2.5ms | Allocations: 14293)
Started GET “/products?query=some&commit=Search” for ::1 at 2022-01-30 00:05:01 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"some", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 13387)
Completed 200 OK in 23ms (Views: 16.9ms | ActiveRecord: 2.4ms | Allocations: 15496)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:05:04 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.4ms | Allocations: 14045)
Completed 200 OK in 24ms (Views: 19.1ms | ActiveRecord: 1.8ms | Allocations: 15722)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:05:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1762.7ms | Allocations: 94432)
Completed 200 OK in 1767ms (Views: 1762.2ms | ActiveRecord: 1.7ms | Allocations: 96109)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:05:48 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 2749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1175.1ms | Allocations: 94566)
Completed 200 OK in 1180ms (Views: 1174.4ms | ActiveRecord: 2.2ms | Allocations: 96244)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:05:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1133.4ms | Allocations: 94090)
Completed 200 OK in 1139ms (Views: 1132.6ms | ActiveRecord: 2.3ms | Allocations: 95768)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:06:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.2ms | Allocations: 2751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1124.3ms | Allocations: 94535)
Completed 200 OK in 1129ms (Views: 1123.6ms | ActiveRecord: 2.0ms | Allocations: 96212)
Started GET “/products?query=some&commit=Search” for ::1 at 2022-01-30 00:06:05 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"some", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'some' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.5ms | Allocations: 13387)
Completed 200 OK in 25ms (Views: 18.2ms | ActiveRecord: 2.6ms | Allocations: 15497)
Started GET “/products?query=desc&commit=Search” for ::1 at 2022-01-30 00:06:07 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"desc", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'desc' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'desc' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2772)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 14066)
Completed 200 OK in 26ms (Views: 19.0ms | ActiveRecord: 2.6ms | Allocations: 16175)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:06:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 14103)
Completed 200 OK in 29ms (Views: 23.3ms | ActiveRecord: 1.9ms | Allocations: 15781)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:06:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2750)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.9ms | Allocations: 14102)
Completed 200 OK in 25ms (Views: 19.7ms | ActiveRecord: 2.5ms | Allocations: 15780)
Started GET “/products/1” for ::1 at 2022-01-30 00:06:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 132)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 785) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.5ms | Allocations: 12447)
Completed 200 OK in 39ms (Views: 30.5ms | ActiveRecord: 1.9ms | Allocations: 14927)
Started GET “/products/1” for ::1 at 2022-01-30 00:07:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
Rendered layout layouts/application.html.erb (Duration: 135.8ms | Allocations: 33724)
Completed 500 Internal Server Error in 144ms (ActiveRecord: 1.7ms | Allocations: 35944)
ActionView::Template::Error (Error: File to import not found or unreadable: ./products/index.html.
on line 16:1 of app/assets/stylesheets/application.scss
>> @import './products/index.html';
^
):
7: <%= csp_meta_tag %> 8: 9: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 11: 12: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %> 13: </head>
app/assets/stylesheets/application.scss:16 app/views/layouts/application.html.erb:10 Started GET “/products/1” for ::1 at 2022-01-30 00:07:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 42)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1118.1ms | Allocations: 83250)
Completed 200 OK in 1125ms (Views: 1118.5ms | ActiveRecord: 2.0ms | Allocations: 85493)
Started GET “/products/1” for ::1 at 2022-01-30 00:10:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 87.4ms | Allocations: 37230)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1160) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 111.2ms | Allocations: 49534)
Completed 200 OK in 123ms (Views: 115.0ms | ActiveRecord: 1.8ms | Allocations: 52578)
Started GET “/products/1” for ::1 at 2022-01-30 00:12:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 757)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1166) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1139.8ms | Allocations: 87660)
Completed 200 OK in 1149ms (Views: 1141.8ms | ActiveRecord: 1.7ms | Allocations: 90703)
Started GET “/products/1” for ::1 at 2022-01-30 00:12:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 652)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 764) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.0ms | Allocations: 12056)
Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 1.6ms | Allocations: 14300)
Started GET “/products/1” for ::1 at 2022-01-30 00:14:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 830)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.5ms | Allocations: 13197)
Completed 200 OK in 40ms (Views: 32.1ms | ActiveRecord: 1.7ms | Allocations: 16239)
Started GET “/products/1” for ::1 at 2022-01-30 00:14:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.1ms | Allocations: 660)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 764) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1147.3ms | Allocations: 89890)
Completed 200 OK in 1154ms (Views: 1147.8ms | ActiveRecord: 1.8ms | Allocations: 92133)
Started GET “/products/1” for ::1 at 2022-01-30 00:15:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 660)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1175.6ms | Allocations: 93145)
Completed 200 OK in 1182ms (Views: 1176.1ms | ActiveRecord: 1.5ms | Allocations: 95387)
Started GET “/products/1” for ::1 at 2022-01-30 00:15:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 662)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1138.3ms | Allocations: 92285)
Completed 200 OK in 1145ms (Views: 1138.9ms | ActiveRecord: 1.7ms | Allocations: 94527)
Started GET “/products/1” for ::1 at 2022-01-30 00:15:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 659)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1148.0ms | Allocations: 92727)
Completed 200 OK in 1156ms (Views: 1148.5ms | ActiveRecord: 2.2ms | Allocations: 94970)
Started GET “/products/1” for ::1 at 2022-01-30 00:16:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.1ms | Allocations: 838)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 13207)
Completed 200 OK in 33ms (Views: 26.5ms | ActiveRecord: 1.5ms | Allocations: 16250)
Started GET “/products/1” for ::1 at 2022-01-30 00:16:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 831)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 13198)
Completed 200 OK in 27ms (Views: 20.5ms | ActiveRecord: 1.5ms | Allocations: 16234)
Started GET “/products/1” for ::1 at 2022-01-30 00:16:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 764) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1166.9ms | Allocations: 92719)
Completed 200 OK in 1174ms (Views: 1167.5ms | ActiveRecord: 1.6ms | Allocations: 94962)
Started GET “/products/1” for ::1 at 2022-01-30 00:17:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1151.1ms | Allocations: 92678)
Completed 200 OK in 1159ms (Views: 1151.7ms | ActiveRecord: 2.0ms | Allocations: 94920)
Started GET “/products/1” for ::1 at 2022-01-30 00:17:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1169.8ms | Allocations: 92746)
Completed 200 OK in 1181ms (Views: 1170.3ms | ActiveRecord: 1.7ms | Allocations: 94988)
Started GET “/products/1” for ::1 at 2022-01-30 00:18:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1149.9ms | Allocations: 92747)
Completed 200 OK in 1158ms (Views: 1150.4ms | ActiveRecord: 1.8ms | Allocations: 94989)
Started GET “/products/1” for ::1 at 2022-01-30 00:18:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1156.7ms | Allocations: 92265)
Completed 200 OK in 1164ms (Views: 1157.3ms | ActiveRecord: 1.8ms | Allocations: 94508)
Started GET “/products/1” for ::1 at 2022-01-30 00:18:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 753) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 12563)
Completed 200 OK in 25ms (Views: 19.1ms | ActiveRecord: 1.8ms | Allocations: 14805)
Started GET “/products/1” for ::1 at 2022-01-30 00:20:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.3ms | Allocations: 838)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1164) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1236.9ms | Allocations: 93910)
Completed 200 OK in 1247ms (Views: 1239.2ms | ActiveRecord: 1.8ms | Allocations: 96952)
Started GET “/products/1” for ::1 at 2022-01-30 00:20:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1150.6ms | Allocations: 93209)
Completed 200 OK in 1159ms (Views: 1151.2ms | ActiveRecord: 1.9ms | Allocations: 95452)
Started GET “/products/1” for ::1 at 2022-01-30 00:20:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1144.7ms | Allocations: 93165)
Completed 200 OK in 1152ms (Views: 1145.2ms | ActiveRecord: 1.7ms | Allocations: 95407)
Started GET “/products/1” for ::1 at 2022-01-30 00:20:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1137.7ms | Allocations: 92750)
Completed 200 OK in 1145ms (Views: 1138.4ms | ActiveRecord: 1.6ms | Allocations: 94992)
Started GET “/products/1” for ::1 at 2022-01-30 00:21:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1156.6ms | Allocations: 92304)
Completed 200 OK in 1164ms (Views: 1157.2ms | ActiveRecord: 1.6ms | Allocations: 94546)
Started GET “/products/1” for ::1 at 2022-01-30 00:21:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1152.3ms | Allocations: 93680)
Completed 200 OK in 1159ms (Views: 1153.0ms | ActiveRecord: 1.5ms | Allocations: 95922)
Started GET “/products/1” for ::1 at 2022-01-30 00:21:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.8ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1435.5ms | Allocations: 93200)
Completed 200 OK in 1443ms (Views: 1436.0ms | ActiveRecord: 1.7ms | Allocations: 95442)
Started GET “/products/1” for ::1 at 2022-01-30 00:21:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1158.8ms | Allocations: 93646)
Completed 200 OK in 1166ms (Views: 1159.2ms | ActiveRecord: 1.6ms | Allocations: 95888)
Started GET “/products/1” for ::1 at 2022-01-30 00:22:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1133.6ms | Allocations: 93227)
Completed 200 OK in 1141ms (Views: 1134.2ms | ActiveRecord: 1.7ms | Allocations: 95469)
Started GET “/products/1” for ::1 at 2022-01-30 00:22:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1213.5ms | Allocations: 92755)
Completed 200 OK in 1220ms (Views: 1214.0ms | ActiveRecord: 1.7ms | Allocations: 94998)
Started GET “/products/1” for ::1 at 2022-01-30 00:23:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1138.9ms | Allocations: 93677)
Completed 200 OK in 1147ms (Views: 1139.6ms | ActiveRecord: 2.0ms | Allocations: 95919)
Started GET “/products” for ::1 at 2022-01-30 00:23:20 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3878)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.2ms | Allocations: 15235)
Completed 200 OK in 35ms (Views: 26.7ms | ActiveRecord: 2.2ms | Allocations: 17042)
Started GET “/products/2” for ::1 at 2022-01-30 00:23:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 821) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 12845)
Completed 200 OK in 43ms (Views: 34.7ms | ActiveRecord: 2.5ms | Allocations: 15092)
Started GET “/products/2” for ::1 at 2022-01-30 00:25:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.2ms | Allocations: 860)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1164) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1417.0ms | Allocations: 94482)
Completed 200 OK in 1426ms (Views: 1419.7ms | ActiveRecord: 1.6ms | Allocations: 97524)
Started GET “/products/2” for ::1 at 2022-01-30 00:25:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 854)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1166) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1140.5ms | Allocations: 93936)
Completed 200 OK in 1151ms (Views: 1142.6ms | ActiveRecord: 1.8ms | Allocations: 96978)
Started GET “/products/2” for ::1 at 2022-01-30 00:26:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1171.8ms | Allocations: 92741)
Completed 200 OK in 1180ms (Views: 1172.3ms | ActiveRecord: 1.9ms | Allocations: 94985)
Started GET “/products/2” for ::1 at 2022-01-30 00:26:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1137.4ms | Allocations: 92253)
Completed 200 OK in 1144ms (Views: 1138.0ms | ActiveRecord: 1.5ms | Allocations: 94495)
Started GET “/products” for ::1 at 2022-01-30 00:26:38 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 3001)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 15230)
Completed 200 OK in 40ms (Views: 33.0ms | ActiveRecord: 2.4ms | Allocations: 17038)
Started GET “/products/new” for ::1 at 2022-01-30 00:26:39 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 58.9ms | Allocations: 22818)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 74.4ms | Allocations: 34203)
Completed 200 OK in 81ms (Views: 74.8ms | ActiveRecord: 1.3ms | Allocations: 36014)
Started POST “/products” for ::1 at 2022-01-30 00:26:56 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"23123123", "name"=>"Gaseosa", "description"=>"asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas v", "price"=>"2", "stock"=>"1"}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mProduct Create (1.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "23123123"], ["name", "Gaseosa"], ["description", "asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas asaSasaSas v"], ["price", 2.0], ["stock", 1], ["created_at", "2022-01-30 05:26:56.317010"], ["updated_at", "2022-01-30 05:26:56.317010"]]
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mTRANSACTION (2.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:21:in `create'
Redirected to localhost:3000/products/6 Completed 302 Found in 16ms (ActiveRecord: 6.1ms | Allocations: 4097)
Started GET “/products/6” for ::1 at 2022-01-30 00:26:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 12059)
Completed 200 OK in 27ms (Views: 18.9ms | ActiveRecord: 2.9ms | Allocations: 14303)
Started GET “/products” for ::1 at 2022-01-30 00:27:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 3107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 788) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 15185)
Completed 200 OK in 31ms (Views: 26.2ms | ActiveRecord: 1.8ms | Allocations: 16896)
Started GET “/products/1” for ::1 at 2022-01-30 00:27:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 12937)
Completed 200 OK in 29ms (Views: 21.2ms | ActiveRecord: 1.9ms | Allocations: 15183)
Started GET “/products/1” for ::1 at 2022-01-30 00:28:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1121.6ms | Allocations: 92284)
Completed 200 OK in 1128ms (Views: 1122.0ms | ActiveRecord: 1.7ms | Allocations: 94526)
Started GET “/products/1” for ::1 at 2022-01-30 00:28:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.3ms | Allocations: 858)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 13227)
Completed 200 OK in 33ms (Views: 24.9ms | ActiveRecord: 1.9ms | Allocations: 16270)
Started GET “/” for ::1 at 2022-01-30 00:29:24 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 7.6ms | Allocations: 1904) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 12725)
Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 1.6ms | Allocations: 13766)
Started GET “/products” for ::1 at 2022-01-30 00:29:25 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.3ms | Allocations: 4120)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 15622)
Completed 200 OK in 44ms (Views: 36.8ms | ActiveRecord: 2.2ms | Allocations: 17430)
Started GET “/products” for ::1 at 2022-01-30 00:29:49 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 3312)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 15673)
Completed 200 OK in 31ms (Views: 25.4ms | ActiveRecord: 1.7ms | Allocations: 18152)
Started GET “/products?query=fir&commit=Search” for ::1 at 2022-01-30 00:30:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"fir", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'fir' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'fir' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.1ms | Allocations: 1758)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 13113)
Completed 200 OK in 25ms (Views: 18.2ms | ActiveRecord: 2.3ms | Allocations: 15223)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 00:30:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.6ms | Allocations: 3093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.5ms | Allocations: 14476)
Completed 200 OK in 30ms (Views: 22.1ms | ActiveRecord: 1.8ms | Allocations: 16154)
Started GET “/products” for ::1 at 2022-01-30 00:30:14 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.6ms | Allocations: 3093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 15339)
Completed 200 OK in 27ms (Views: 22.1ms | ActiveRecord: 1.6ms | Allocations: 17021)
Started GET “/products/1” for ::1 at 2022-01-30 00:30:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 859)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 762) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 13124)
Completed 200 OK in 31ms (Views: 21.6ms | ActiveRecord: 2.3ms | Allocations: 15494)
Started GET “/products” for ::1 at 2022-01-30 00:30:21 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.4ms | Allocations: 3093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 15319)
Completed 200 OK in 37ms (Views: 31.3ms | ActiveRecord: 2.0ms | Allocations: 17003)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 00:30:54 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 12ms (ActiveRecord: 0.9ms | Allocations: 2612)
Started GET “/” for ::1 at 2022-01-30 00:30:54 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 108)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 831) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 18.7ms | Allocations: 11699)
Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.0ms | Allocations: 12669)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:31:00 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 645) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 20.6ms | Allocations: 10976)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 22547)
Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms | Allocations: 24081)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:31:48 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.1ms | Allocations: 8677)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1171.0ms | Allocations: 100423)
Completed 200 OK in 1172ms (Views: 1171.6ms | ActiveRecord: 0.0ms | Allocations: 101019)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:31:59 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.8ms | Allocations: 8691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.7ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1191.9ms | Allocations: 101347)
Completed 200 OK in 1193ms (Views: 1192.4ms | ActiveRecord: 0.0ms | Allocations: 101944)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:32:29 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.5ms | Allocations: 8691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1167.8ms | Allocations: 100919)
Completed 200 OK in 1170ms (Views: 1168.5ms | ActiveRecord: 0.0ms | Allocations: 101517)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:32:41 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.1ms | Allocations: 8691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1151.1ms | Allocations: 100422)
Completed 200 OK in 1153ms (Views: 1151.7ms | ActiveRecord: 0.0ms | Allocations: 101021)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:32:57 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.0ms | Allocations: 8691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1198.5ms | Allocations: 100883)
Completed 200 OK in 1200ms (Views: 1199.0ms | ActiveRecord: 0.0ms | Allocations: 101480)
Started GET “/users/sign_up” for ::1 at 2022-01-30 00:33:09 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 144) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 32.8ms | Allocations: 14622)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 49.2ms | Allocations: 26082)
Completed 200 OK in 52ms (Views: 51.3ms | ActiveRecord: 0.0ms | Allocations: 27322)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:33:13 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.1ms | Allocations: 8689)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.9ms | Allocations: 20993)
Completed 200 OK in 42ms (Views: 40.7ms | ActiveRecord: 0.0ms | Allocations: 21594)
Started POST “/users/sign_in” for ::1 at 2022-01-30 00:33:19 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 224ms (ActiveRecord: 1.1ms | Allocations: 4078)
Started GET “/” for ::1 at 2022-01-30 00:33:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1903) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.6ms | Allocations: 12700)
Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.8ms | Allocations: 13096)
Started GET “/products” for ::1 at 2022-01-30 00:33:26 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 3101)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.0ms | Allocations: 15382)
Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 1.8ms | Allocations: 17066)
Started GET “/products” for ::1 at 2022-01-30 00:33:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.0ms | Allocations: 3315)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 15712)
Completed 200 OK in 31ms (Views: 24.1ms | ActiveRecord: 2.0ms | Allocations: 18192)
Started GET “/products” for ::1 at 2022-01-30 00:34:07 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 3311)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 15702)
Completed 200 OK in 30ms (Views: 24.4ms | ActiveRecord: 1.8ms | Allocations: 18175)
Started GET “/products” for ::1 at 2022-01-30 00:34:31 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.6ms | Allocations: 3311)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 204) Rendered layout layouts/application.html.erb (Duration: 29.4ms | Allocations: 15710)
Completed 200 OK in 36ms (Views: 30.3ms | ActiveRecord: 2.1ms | Allocations: 18184)
Started GET “/products” for ::1 at 2022-01-30 00:36:38 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 3502)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 1153) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 15898)
Completed 200 OK in 32ms (Views: 25.3ms | ActiveRecord: 2.2ms | Allocations: 18378)
Started GET “/products/1” for ::1 at 2022-01-30 00:36:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.8ms | Allocations: 854)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1515) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.5ms | Allocations: 13018)
Completed 200 OK in 29ms (Views: 22.1ms | ActiveRecord: 1.7ms | Allocations: 15395)
Started GET “/products/2” for ::1 at 2022-01-30 00:36:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.5ms | Allocations: 12054)
Completed 200 OK in 23ms (Views: 17.9ms | ActiveRecord: 1.5ms | Allocations: 14300)
Started GET “/products/2” for ::1 at 2022-01-30 00:37:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1193.4ms | Allocations: 93663)
Completed 200 OK in 1200ms (Views: 1193.9ms | ActiveRecord: 1.8ms | Allocations: 95905)
Started GET “/products/2” for ::1 at 2022-01-30 00:37:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 664)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1183.3ms | Allocations: 93253)
Completed 200 OK in 1190ms (Views: 1183.8ms | ActiveRecord: 1.6ms | Allocations: 95496)
Started GET “/products/2” for ::1 at 2022-01-30 00:37:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.4ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 753) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.9ms | Allocations: 12560)
Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 1.4ms | Allocations: 14802)
Started GET “/products/2” for ::1 at 2022-01-30 00:37:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1163.1ms | Allocations: 93875)
Completed 200 OK in 1170ms (Views: 1163.6ms | ActiveRecord: 1.9ms | Allocations: 96117)
Started GET “/products/2” for ::1 at 2022-01-30 00:39:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 860)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.5ms | Allocations: 13229)
Completed 200 OK in 37ms (Views: 28.3ms | ActiveRecord: 2.1ms | Allocations: 16271)
Started GET “/products/2” for ::1 at 2022-01-30 00:39:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1324.3ms | Allocations: 93270)
Completed 200 OK in 1331ms (Views: 1324.8ms | ActiveRecord: 1.8ms | Allocations: 95513)
Started GET “/products/2” for ::1 at 2022-01-30 00:40:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.1ms | Allocations: 663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1174.8ms | Allocations: 92747)
Completed 200 OK in 1182ms (Views: 1175.4ms | ActiveRecord: 1.8ms | Allocations: 94989)
Started GET “/products/2” for ::1 at 2022-01-30 00:40:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.1ms | Allocations: 858)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1159) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 13228)
Completed 200 OK in 32ms (Views: 25.3ms | ActiveRecord: 1.6ms | Allocations: 16270)
Started GET “/products/2” for ::1 at 2022-01-30 00:41:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 852)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1164) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.0ms | Allocations: 13240)
Completed 200 OK in 34ms (Views: 24.1ms | ActiveRecord: 2.6ms | Allocations: 16277)
Started GET “/products/2” for ::1 at 2022-01-30 00:42:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 1803)
Rendered layout layouts/application.html.erb (Duration: 2.1ms | Allocations: 1867)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.6ms | Allocations: 4881)
ActionView::Template::Error (wrong number of arguments (given 1, expected 0)):
7: <p class='product-description'>Description: <%= @product.description %></p>
8: <p class='product-price'>Price: $ <%= @product.price %></p>
9: <p class='product-stock'>Stock: <%= @product.stock %></p>
10: <p class='product-likes'><%= @product.likes "#{@product.likes == 1 ? 'like' : 'likes'}" %></p>
11: </div>
12: </div>
app/views/products/show.html.erb:10 Started GET “/products/2” for ::1 at 2022-01-30 00:43:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 864)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1160) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.7ms | Allocations: 13269)
Completed 200 OK in 29ms (Views: 22.2ms | ActiveRecord: 1.7ms | Allocations: 16310)
Started GET “/products/2” for ::1 at 2022-01-30 00:43:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 861)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1158) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 19.8ms | Allocations: 13228)
Completed 200 OK in 29ms (Views: 22.4ms | ActiveRecord: 1.5ms | Allocations: 16264)
Started GET “/products/2” for ::1 at 2022-01-30 00:44:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.3ms | Allocations: 942)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.3ms | Allocations: 13310)
Completed 200 OK in 36ms (Views: 28.5ms | ActiveRecord: 1.7ms | Allocations: 16347)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:44:39 -0500
AbstractController::ActionNotFound (The action 'edit' could not be found for ProductsController Did you mean? create
new configure_permitted_parameters index):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/2” for ::1 at 2022-01-30 00:45:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 15.5ms | Allocations: 12089)
Completed 200 OK in 56ms (Views: 16.2ms | ActiveRecord: 14.5ms | Allocations: 26134)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:45:19 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Completed 406 Not Acceptable in 10ms (ActiveRecord: 1.5ms | Allocations: 4496)
ActionController::MissingExactTemplate (ProductsController#edit is missing a template for request formats: text/html):
actionpack (6.1.4.4) lib/action_controller/metal/implicit_render.rb:45:in `default_render' actionpack (6.1.4.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action' actionpack (6.1.4.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `tap' actionpack (6.1.4.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' actionpack (6.1.4.4) lib/abstract_controller/base.rb:228:in `process_action' actionpack (6.1.4.4) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (6.1.4.4) lib/abstract_controller/callbacks.rb:42:in `block in process_action' activesupport (6.1.4.4) lib/active_support/callbacks.rb:117:in `block in run_callbacks' actiontext (6.1.4.4) lib/action_text/rendering.rb:20:in `with_renderer' actiontext (6.1.4.4) lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>' activesupport (6.1.4.4) lib/active_support/callbacks.rb:126:in `instance_exec' activesupport (6.1.4.4) lib/active_support/callbacks.rb:126:in `block in run_callbacks' activesupport (6.1.4.4) lib/active_support/callbacks.rb:137:in `run_callbacks' actionpack (6.1.4.4) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (6.1.4.4) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (6.1.4.4) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (6.1.4.4) lib/active_support/notifications.rb:203:in `block in instrument' activesupport (6.1.4.4) lib/active_support/notifications/instrumenter.rb:24:in `instrument' activesupport (6.1.4.4) lib/active_support/notifications.rb:203:in `instrument' actionpack (6.1.4.4) lib/action_controller/metal/instrumentation.rb:33:in `process_action' actionpack (6.1.4.4) lib/action_controller/metal/params_wrapper.rb:249:in `process_action' activerecord (6.1.4.4) lib/active_record/railties/controller_runtime.rb:27:in `process_action' actionpack (6.1.4.4) lib/abstract_controller/base.rb:165:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/2” for ::1 at 2022-01-30 00:47:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.7ms | Allocations: 940)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 13340)
Completed 200 OK in 41ms (Views: 32.0ms | ActiveRecord: 1.9ms | Allocations: 17270)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:47:08 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.9ms | Allocations: 12296)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.6ms | Allocations: 24570)
Completed 200 OK in 43ms (Views: 34.1ms | ActiveRecord: 1.8ms | Allocations: 27310)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:47:12 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.8ms | Allocations: 11606)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 23855)
Completed 200 OK in 47ms (Views: 39.0ms | ActiveRecord: 1.8ms | Allocations: 26471)
Started PATCH “/products/2” for ::1 at 2022-01-30 00:47:26 -0500
AbstractController::ActionNotFound (The action 'update' could not be found for ProductsController Did you mean? create
edit index configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/2/edit” for ::1 at 2022-01-30 00:47:30 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 13.0ms | Allocations: 11638)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 23046)
Completed 200 OK in 38ms (Views: 31.8ms | ActiveRecord: 1.5ms | Allocations: 25657)
Started GET “/products/2” for ::1 at 2022-01-30 00:49:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 730)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 754) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 18.0ms | Allocations: 12086)
Completed 200 OK in 51ms (Views: 18.7ms | ActiveRecord: 12.1ms | Allocations: 26115)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:49:31 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 19.5ms | Allocations: 11966)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 24261)
Completed 200 OK in 48ms (Views: 39.2ms | ActiveRecord: 2.0ms | Allocations: 26876)
Started PATCH “/products/2” for ::1 at 2022-01-30 00:49:36 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123456", "name"=>"Second product", "description"=>"Some description", "price"=>"15", "stock"=>"4"}, "commit"=>"Update product", "id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
[1m[36mCACHE Product Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:33:in `update'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mProduct Update (1.6ms)[0m [1m[33mUPDATE "products" SET "price" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["price", 15.0], ["updated_at", "2022-01-30 05:49:36.887477"], ["id", 2]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:34:in `update'
Redirected to localhost:3000/products/2 Completed 302 Found in 21ms (ActiveRecord: 7.7ms | Allocations: 4893)
Started GET “/products/2” for ::1 at 2022-01-30 00:49:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.5ms | Allocations: 718)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 12065)
Completed 200 OK in 27ms (Views: 21.3ms | ActiveRecord: 1.4ms | Allocations: 14307)
Started GET “/products/2/edit” for ::1 at 2022-01-30 00:49:50 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.2ms | Allocations: 11612)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.4ms | Allocations: 23882)
Completed 200 OK in 49ms (Views: 42.8ms | ActiveRecord: 1.6ms | Allocations: 26497)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.4ms | Allocations: 719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1143.0ms | Allocations: 92388)
Completed 200 OK in 1150ms (Views: 1143.5ms | ActiveRecord: 1.8ms | Allocations: 94630)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (6.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1143.2ms | Allocations: 92831)
Completed 200 OK in 1155ms (Views: 1143.6ms | ActiveRecord: 6.8ms | Allocations: 95074)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 717)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1143.8ms | Allocations: 92322)
Completed 200 OK in 1151ms (Views: 1144.4ms | ActiveRecord: 1.6ms | Allocations: 94564)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1126.6ms | Allocations: 92830)
Completed 200 OK in 1134ms (Views: 1127.2ms | ActiveRecord: 1.6ms | Allocations: 95072)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.3ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 12603)
Completed 200 OK in 54ms (Views: 43.3ms | ActiveRecord: 2.8ms | Allocations: 14845)
Started GET “/products/2” for ::1 at 2022-01-30 00:51:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1131.2ms | Allocations: 92865)
Completed 200 OK in 1138ms (Views: 1131.6ms | ActiveRecord: 1.7ms | Allocations: 95108)
Started GET “/products/2” for ::1 at 2022-01-30 00:52:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1146.5ms | Allocations: 93275)
Completed 200 OK in 1153ms (Views: 1146.9ms | ActiveRecord: 1.8ms | Allocations: 95517)
Started GET “/products/2” for ::1 at 2022-01-30 00:52:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1179.1ms | Allocations: 92319)
Completed 200 OK in 1187ms (Views: 1179.6ms | ActiveRecord: 2.1ms | Allocations: 94561)
Started GET “/products/2” for ::1 at 2022-01-30 00:53:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.8ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1179.1ms | Allocations: 92351)
Completed 200 OK in 1186ms (Views: 1179.7ms | ActiveRecord: 1.4ms | Allocations: 94593)
Started GET “/products/2” for ::1 at 2022-01-30 00:53:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1162.1ms | Allocations: 92804)
Completed 200 OK in 1169ms (Views: 1162.5ms | ActiveRecord: 1.7ms | Allocations: 95047)
Started GET “/products/2” for ::1 at 2022-01-30 00:53:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1147.5ms | Allocations: 93303)
Completed 200 OK in 1154ms (Views: 1148.0ms | ActiveRecord: 1.7ms | Allocations: 95545)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 00:53:57 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 2218)
Started GET “/” for ::1 at 2022-01-30 00:53:57 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 113)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 818) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 15.6ms | Allocations: 11616)
Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms | Allocations: 12656)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:53:59 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 3.2ms | Allocations: 1291) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 25.1ms | Allocations: 10314)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 21880)
Completed 200 OK in 48ms (Views: 46.9ms | ActiveRecord: 0.0ms | Allocations: 23408)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:54:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.9ms | Allocations: 8697)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1205.3ms | Allocations: 101928)
Completed 200 OK in 1207ms (Views: 1205.8ms | ActiveRecord: 0.0ms | Allocations: 102524)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:54:16 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.2ms | Allocations: 8709)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1144.5ms | Allocations: 100459)
Completed 200 OK in 1146ms (Views: 1145.1ms | ActiveRecord: 0.0ms | Allocations: 101056)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:54:21 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.9ms | Allocations: 8713)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1172.2ms | Allocations: 100990)
Completed 200 OK in 1174ms (Views: 1172.8ms | ActiveRecord: 0.0ms | Allocations: 101587)
Started GET “/users/sign_in” for ::1 at 2022-01-30 00:54:30 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 8709)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1175.7ms | Allocations: 100429)
Completed 200 OK in 1177ms (Views: 1176.2ms | ActiveRecord: 0.0ms | Allocations: 101026)
Started POST “/users/sign_in” for ::1 at 2022-01-30 00:54:49 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 219ms (ActiveRecord: 1.3ms | Allocations: 3449)
Started GET “/” for ::1 at 2022-01-30 00:54:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1904) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 1130.8ms | Allocations: 94389)
Completed 200 OK in 1132ms (Views: 1130.1ms | ActiveRecord: 1.0ms | Allocations: 94785)
Started GET “/users/edit” for ::1 at 2022-01-30 00:54:55 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.7ms | Allocations: 14753)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 26992)
Completed 200 OK in 44ms (Views: 38.7ms | ActiveRecord: 1.1ms | Allocations: 29409)
Started GET “/” for ::1 at 2022-01-30 00:55:04 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 9.6ms | Allocations: 1903) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 13568)
Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 2.0ms | Allocations: 13961)
Started GET “/products” for ::1 at 2022-01-30 00:55:06 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.4ms | Allocations: 3509)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 15774)
Completed 200 OK in 34ms (Views: 28.3ms | ActiveRecord: 1.8ms | Allocations: 17583)
Started GET “/products?query=pro&commit=Search” for ::1 at 2022-01-30 00:55:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"pro", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'pro' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'pro' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 2903)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.3ms | Allocations: 14283)
Completed 200 OK in 27ms (Views: 20.1ms | ActiveRecord: 2.7ms | Allocations: 16418)
Started GET “/products/1” for ::1 at 2022-01-30 00:55:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 12945)
Completed 200 OK in 29ms (Views: 23.5ms | ActiveRecord: 1.4ms | Allocations: 15190)
Started GET “/products/1” for ::1 at 2022-01-30 00:55:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.3ms | Allocations: 719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 15.0ms | Allocations: 12102)
Completed 200 OK in 22ms (Views: 15.6ms | ActiveRecord: 1.8ms | Allocations: 14345)
Started GET “/products/1” for ::1 at 2022-01-30 00:56:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 1012)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.1ms | Allocations: 13409)
Completed 200 OK in 29ms (Views: 22.1ms | ActiveRecord: 1.5ms | Allocations: 16452)
Started GET “/products/1” for ::1 at 2022-01-30 00:56:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.8ms | Allocations: 762)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 753) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1144.6ms | Allocations: 92913)
Completed 200 OK in 1152ms (Views: 1145.0ms | ActiveRecord: 2.1ms | Allocations: 95156)
Started GET “/products/1/edit” for ::1 at 2022-01-30 00:57:48 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:29:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 21.9ms | Allocations: 11881)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1174) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 49.5ms | Allocations: 25181)
Completed 200 OK in 62ms (Views: 52.3ms | ActiveRecord: 2.2ms | Allocations: 28596)
Started GET “/products/1” for ::1 at 2022-01-30 00:58:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.4ms | Allocations: 2113)
Rendered layout layouts/application.html.erb (Duration: 2.6ms | Allocations: 2177)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.8ms | Allocations: 5186)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“1”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
14: </div> 15: 16: <div class="product-review"> 17: <%= link_to 'Add a review', new_product_review_path, class: 'btn btn-outline-primary' %> 18: </div>
app/views/products/show.html.erb:17 Started GET “/products” for ::1 at 2022-01-30 00:59:01 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.2ms | Allocations: 3506)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.9ms | Allocations: 15901)
Completed 200 OK in 35ms (Views: 28.5ms | ActiveRecord: 2.5ms | Allocations: 18380)
Started GET “/” for ::1 at 2022-01-30 00:59:01 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 143)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1902) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 12869)
Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.8ms | Allocations: 14569)
Started GET “/products” for ::1 at 2022-01-30 00:59:02 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3251)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 22.3ms | Allocations: 838) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 96.8ms | Allocations: 15487)
Completed 200 OK in 102ms (Views: 95.9ms | ActiveRecord: 2.4ms | Allocations: 17170)
Started GET “/products/1” for ::1 at 2022-01-30 00:59:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.0ms | Allocations: 1148)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 13251)
Completed 200 OK in 33ms (Views: 23.3ms | ActiveRecord: 2.6ms | Allocations: 15623)
Started GET “/products/1/reviews/new” for ::1 at 2022-01-30 00:59:04 -0500
AbstractController::ActionNotFound (The action 'new' could not be found for ReviewsController Did you mean? configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/1” for ::1 at 2022-01-30 00:59:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.2ms | Allocations: 836)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 12220)
Completed 200 OK in 25ms (Views: 18.7ms | ActiveRecord: 1.6ms | Allocations: 15223)
Started GET “/” for ::1 at 2022-01-30 01:00:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 7.7ms | Allocations: 1902) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 12657)
Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 1.2ms | Allocations: 13049)
Started GET “/products” for ::1 at 2022-01-30 01:00:51 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 3249)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.8ms | Allocations: 15476)
Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 1.8ms | Allocations: 17158)
Started GET “/products” for ::1 at 2022-01-30 01:00:55 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.8ms | Allocations: 3246)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.5ms | Allocations: 14595)
Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 2.6ms | Allocations: 16278)
Started GET “/products/new” for ::1 at 2022-01-30 07:49:13 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 11829)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.7ms | Allocations: 23217)
Completed 200 OK in 86ms (Views: 44.8ms | ActiveRecord: 22.4ms | Allocations: 29204)
Started POST “/products” for ::1 at 2022-01-30 07:49:27 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"qwepori", "name"=>"Name", "description"=>"Kansas", "price"=>"10", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (16.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (12.4ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mProduct Create (5.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "qwepori"], ["name", "Name"], ["description", "Kansas"], ["price", 10.0], ["stock", 2], ["created_at", "2022-01-30 12:49:27.679067"], ["updated_at", "2022-01-30 12:49:27.679067"]]
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:21:in `create'
Redirected to localhost:3000/products/7 Completed 302 Found in 99ms (ActiveRecord: 34.8ms | Allocations: 3854)
Started GET “/products/7” for ::1 at 2022-01-30 07:49:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.5ms | Allocations: 745)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 12092)
Completed 200 OK in 31ms (Views: 22.7ms | ActiveRecord: 2.8ms | Allocations: 14394)
Started GET “/products/7” for ::1 at 2022-01-30 07:52:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.2ms | Allocations: 744)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1558.2ms | Allocations: 93338)
Completed 200 OK in 1567ms (Views: 1558.8ms | ActiveRecord: 2.7ms | Allocations: 95580)
Started GET “/products/7” for ::1 at 2022-01-30 07:53:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.6ms | Allocations: 741)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1654.0ms | Allocations: 92829)
Completed 200 OK in 1665ms (Views: 1655.3ms | ActiveRecord: 2.0ms | Allocations: 95071)
Started GET “/products/7” for ::1 at 2022-01-30 07:53:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 744)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1316.6ms | Allocations: 93346)
Completed 200 OK in 1326ms (Views: 1317.2ms | ActiveRecord: 1.7ms | Allocations: 95589)
Started GET “/products/7” for ::1 at 2022-01-30 07:54:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.3ms | Allocations: 999)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 1.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 13360)
Completed 200 OK in 47ms (Views: 35.2ms | ActiveRecord: 3.1ms | Allocations: 16402)
Started GET “/products/7” for ::1 at 2022-01-30 07:54:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.5ms | Allocations: 747)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1154.9ms | Allocations: 92842)
Completed 200 OK in 1161ms (Views: 1155.4ms | ActiveRecord: 1.8ms | Allocations: 95085)
Started GET “/products/7” for ::1 at 2022-01-30 07:55:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.7ms | Allocations: 999)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.9ms | Allocations: 13393)
Completed 200 OK in 35ms (Views: 27.0ms | ActiveRecord: 1.8ms | Allocations: 16436)
Started GET “/products/7” for ::1 at 2022-01-30 07:55:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.6ms | Allocations: 747)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 12102)
Completed 200 OK in 31ms (Views: 21.2ms | ActiveRecord: 2.9ms | Allocations: 14346)
Started GET “/products/7” for ::1 at 2022-01-30 07:55:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.0ms | Allocations: 2585)
Rendered layout layouts/application.html.erb (Duration: 3.3ms | Allocations: 2649)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.4ms | Allocations: 5657)
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
16: <h2>Reviews</h2> 17: 18: <div class='review-form'> 19: <%= simple_form_for(@product, @review) do |f| %> 20: <div class="form-inputs"> 21: <%= f.input :sku, label: 'SKU' %> 22: <%= f.input :name %>
app/views/products/show.html.erb:19 Started GET “/products/7” for ::1 at 2022-01-30 07:56:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.1ms | Allocations: 1000)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.5ms | Allocations: 13396)
Completed 200 OK in 41ms (Views: 29.7ms | ActiveRecord: 2.8ms | Allocations: 16438)
Started GET “/products/7” for ::1 at 2022-01-30 07:58:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.5ms | Allocations: 995)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.4ms | Allocations: 13353)
Completed 200 OK in 33ms (Views: 24.4ms | ActiveRecord: 2.6ms | Allocations: 16390)
Started GET “/products/7” for ::1 at 2022-01-30 08:02:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 7.5ms | Allocations: 4485)
Rendered layout layouts/application.html.erb (Duration: 7.7ms | Allocations: 4549)
Completed 500 Internal Server Error in 70ms (ActiveRecord: 22.2ms | Allocations: 23958)
ActionView::Template::Error (undefined method `reviews_path' for #<ActionView::Base:0x000000000181c8>):
15: 16: <h2>Reviews</h2> 17: 18: <%= simple_form_for([ @restaurant, @review ]) do |f| %> 19: <%= f.input :title %> 20: <%= f.input :content, as: :text %> 21: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:18 Started GET “/products/7” for ::1 at 2022-01-30 08:02:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 36.8ms | Allocations: 11261)
Rendered layout layouts/application.html.erb (Duration: 37.0ms | Allocations: 11325)
Completed 500 Internal Server Error in 49ms (ActiveRecord: 1.9ms | Allocations: 14354)
ActionView::Template::Error (undefined method `new_product_review_path' for #<ActionView::Base:0x00000000018628> Did you mean? new_product_path):
23: 24: 25: <div class="product-review"> 26: <%= link_to 'Add a review', new_product_review_path(@product), class: 'btn btn-outline-primary' %> 27: </div>
app/views/products/show.html.erb:26 Started GET “/products/7” for ::1 at 2022-01-30 08:02:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 10.7ms | Allocations: 6928)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 19228)
Completed 200 OK in 42ms (Views: 34.2ms | ActiveRecord: 1.9ms | Allocations: 22285)
Started GET “/products/7” for ::1 at 2022-01-30 08:03:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 6915)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1219.2ms | Allocations: 100891)
Completed 200 OK in 1233ms (Views: 1222.1ms | ActiveRecord: 2.9ms | Allocations: 103943)
Started GET “/products/7” for ::1 at 2022-01-30 08:04:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 19.5ms | Allocations: 6621)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1186.5ms | Allocations: 99097)
Completed 200 OK in 1197ms (Views: 1186.9ms | ActiveRecord: 1.7ms | Allocations: 101356)
Started GET “/products/7” for ::1 at 2022-01-30 08:05:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 13.7ms | Allocations: 6947)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 12.1ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1240.3ms | Allocations: 100468)
Completed 200 OK in 1257ms (Views: 1246.6ms | ActiveRecord: 2.5ms | Allocations: 103526)
Started GET “/products/7” for ::1 at 2022-01-30 08:05:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 10.0ms | Allocations: 6947)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 19243)
Completed 200 OK in 50ms (Views: 42.1ms | ActiveRecord: 2.0ms | Allocations: 22302)
Started GET “/products/7” for ::1 at 2022-01-30 08:05:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 9.3ms | Allocations: 6919)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.1ms | Allocations: 19178)
Completed 200 OK in 41ms (Views: 32.2ms | ActiveRecord: 2.0ms | Allocations: 22230)
Started GET “/products/7” for ::1 at 2022-01-30 08:06:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 10.1ms | Allocations: 6931)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 1153) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 19233)
Completed 200 OK in 34ms (Views: 27.2ms | ActiveRecord: 2.0ms | Allocations: 22286)
Started GET “/products/7” for ::1 at 2022-01-30 08:06:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 9.8ms | Allocations: 6603)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1640.9ms | Allocations: 99086)
Completed 200 OK in 1650ms (Views: 1641.3ms | ActiveRecord: 2.3ms | Allocations: 101345)
Started GET “/products/7” for ::1 at 2022-01-30 08:10:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 65.1ms | Allocations: 14191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 90.0ms | Allocations: 26492)
Completed 200 OK in 103ms (Views: 88.9ms | ActiveRecord: 6.8ms | Allocations: 29552)
Started GET “/products/7” for ::1 at 2022-01-30 08:10:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 7389)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1595.7ms | Allocations: 98950)
Completed 200 OK in 1605ms (Views: 1594.8ms | ActiveRecord: 3.6ms | Allocations: 101209)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:10:53 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"My first review", "content"=>"This is something special"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.7ms | Allocations: 1110)
Rendered layout layouts/application.html.erb (Duration: 3.2ms | Allocations: 1174)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 2.3ms | Allocations: 5944)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“7”}, missing required keys: [:id] Did you mean? edit_product_url):
1: <div class="product-edit"> 2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %> 3: </div> 4: 5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:9:in `create' Started GET “/products/7” for ::1 at 2022-01-30 08:11:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.3ms | Allocations: 7796)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 20092)
Completed 200 OK in 40ms (Views: 31.9ms | ActiveRecord: 3.0ms | Allocations: 23151)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:11:48 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"My first review", "content"=>"This is something special"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 9.7ms | Allocations: 7319)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 18560)
Completed 200 OK in 34ms (Views: 25.0ms | ActiveRecord: 2.8ms | Allocations: 21856)
Started GET “/products/7/reviews” for ::1 at 2022-01-30 08:20:14 -0500
ActionController::RoutingError (No route matches [GET] “/products/7/reviews”):
Started GET “/products/7” for ::1 at 2022-01-30 08:20:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 8721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.7ms | Allocations: 21021)
Completed 200 OK in 103ms (Views: 41.0ms | ActiveRecord: 20.1ms | Allocations: 40726)
Started GET “/products/7/edit” for ::1 at 2022-01-30 08:20:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 20.5ms | Allocations: 12140)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 24415)
Completed 200 OK in 51ms (Views: 43.5ms | ActiveRecord: 1.6ms | Allocations: 27156)
Started PATCH “/products/7” for ::1 at 2022-01-30 08:20:37 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"qwepori", "name"=>"Name", "description"=>"Kansas", "price"=>"10.0", "stock"=>"4"}, "commit"=>"Update product", "id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.4ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 4], ["updated_at", "2022-01-30 13:20:37.140748"], ["id", 7]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/7 Completed 302 Found in 16ms (ActiveRecord: 5.2ms | Allocations: 4865)
Started GET “/products/7” for ::1 at 2022-01-30 08:20:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.9ms | Allocations: 7400)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 18682)
Completed 200 OK in 42ms (Views: 33.6ms | ActiveRecord: 2.9ms | Allocations: 20942)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:20:45 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"My first review", "content"=>"Content"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.5ms | Allocations: 1110)
Rendered layout layouts/application.html.erb (Duration: 2.8ms | Allocations: 1174)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.8ms | Allocations: 5349)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“7”}, missing required keys: [:id] Did you mean? edit_product_url):
1: <div class="product-edit"> 2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %> 3: </div> 4: 5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:9:in `create' Started GET “/products/7” for ::1 at 2022-01-30 08:21:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.7ms | Allocations: 8274)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.4ms | Allocations: 19569)
Completed 200 OK in 70ms (Views: 25.1ms | ActiveRecord: 20.8ms | Allocations: 37426)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:21:32 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"My first review", "content"=>"Content"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 1123)
Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 1187)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.3ms | Allocations: 5021)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“7”}, missing required keys: [:id] Did you mean? edit_product_url
edit_product_review_url
edit_product_review_path):
1: <div class="product-edit">
2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %>
3: </div>
4:
5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:9:in `create' Started GET “/products/7” for ::1 at 2022-01-30 08:23:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 5.3ms | Allocations: 1856)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 47.1ms | Allocations: 14277)
Completed 200 OK in 63ms (Views: 49.4ms | ActiveRecord: 4.8ms | Allocations: 17337)
Started GET “/products/7/edit” for ::1 at 2022-01-30 08:23:54 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.8ms | Allocations: 12849)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 24425)
Completed 200 OK in 45ms (Views: 35.4ms | ActiveRecord: 1.6ms | Allocations: 27166)
Started GET “/products/7/edit” for ::1 at 2022-01-30 08:25:51 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 24.7ms | Allocations: 11834)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1182) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 81.9ms | Allocations: 25158)
Completed 200 OK in 100ms (Views: 86.7ms | ActiveRecord: 2.3ms | Allocations: 28572)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Create (6.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "My first review"], ["content", "Some content"], ["product_id", 7], ["user_id", 1], ["created_at", "2022-01-30 13:27:54.676982"], ["updated_at", "2022-01-30 13:27:54.676982"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
Started GET “/products/7” for ::1 at 2022-01-30 08:28:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 7887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 750) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.1ms | Allocations: 19143)
Completed 200 OK in 42ms (Views: 33.7ms | ActiveRecord: 2.9ms | Allocations: 21527)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:28:18 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qsqq", "content"=>"qwqwqwq"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.7ms | Allocations: 1123)
Rendered layout layouts/application.html.erb (Duration: 1.0ms | Allocations: 1187)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.8ms | Allocations: 4462)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“7”}, missing required keys: [:id] Did you mean? edit_product_url
edit_product_review_url
edit_product_review_path):
1: <div class="product-edit">
2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %>
3: </div>
4:
5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:9:in `create' Started GET “/products/7” for ::1 at 2022-01-30 08:28:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 13.2ms | Allocations: 7417)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 18721)
Completed 200 OK in 38ms (Views: 31.0ms | ActiveRecord: 2.8ms | Allocations: 20981)
Started GET “/products/7” for ::1 at 2022-01-30 08:28:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:16
Rendered products/show.html.erb within layouts/application (Duration: 11.0ms | Allocations: 7777)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 202) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 20044)
Completed 200 OK in 41ms (Views: 33.1ms | ActiveRecord: 2.7ms | Allocations: 23103)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:28:37 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qewqeqw", "content"=>"weqweqwe"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:16
Rendered products/show.html.erb within layouts/application (Duration: 12.1ms | Allocations: 7312)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 18554)
Completed 200 OK in 46ms (Views: 37.6ms | ActiveRecord: 2.5ms | Allocations: 21849)
Started GET “/products/7” for ::1 at 2022-01-30 08:36:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 6761)
Rendered layout layouts/application.html.erb (Duration: 18.2ms | Allocations: 6825)
Completed 500 Internal Server Error in 69ms (ActiveRecord: 15.9ms | Allocations: 26471)
ActionView::Template::Error (undefined method `product_reviews_path' for #<ActionView::Base:0x000000000201c0> Did you mean? product_path):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for([ @product, @review ]) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7/reviews” for ::1 at 2022-01-30 08:36:54 -0500
ActionController::RoutingError (No route matches [GET] “/products/7/reviews”):
Started GET “/products/7” for ::1 at 2022-01-30 08:39:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.7ms | Allocations: 5362)
Rendered layout layouts/application.html.erb (Duration: 10.9ms | Allocations: 5426)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 2.9ms | Allocations: 8455)
ActionView::Template::Error (undefined method `reviews_path' for #<ActionView::Base:0x00000000020a58>):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for([ @review ]) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:39:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 5.6ms | Allocations: 3454)
Rendered layout layouts/application.html.erb (Duration: 5.8ms | Allocations: 3518)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.2ms | Allocations: 6547)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for([ @reviews ]) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:39:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.4ms | Allocations: 5360)
Rendered layout layouts/application.html.erb (Duration: 10.6ms | Allocations: 5424)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 3.1ms | Allocations: 8453)
ActionView::Template::Error (undefined method `reviews_path' for #<ActionView::Base:0x000000000212c8>):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@review) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:40:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.6ms | Allocations: 5359)
Rendered layout layouts/application.html.erb (Duration: 11.8ms | Allocations: 5423)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 3.5ms | Allocations: 8452)
ActionView::Template::Error (undefined method `reviews_path' for #<ActionView::Base:0x00000000021778>):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@review) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:40:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 8.3ms | Allocations: 5356)
Rendered layout layouts/application.html.erb (Duration: 8.5ms | Allocations: 5420)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 3.3ms | Allocations: 8449)
ActionView::Template::Error (undefined method `review' for #<Product:0x00007fb8108802f0> Did you mean? reviews
reviews=): 27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@product.review) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:40:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 8.2ms | Allocations: 4998)
Rendered layout layouts/application.html.erb (Duration: 8.5ms | Allocations: 5062)
Completed 500 Internal Server Error in 17ms (ActiveRecord: 2.4ms | Allocations: 8091)
ActionView::Template::Error (undefined method `to_key' for #<Review::ActiveRecord_Associations_CollectionProxy:0x00007fb8076723e0> Did you mean? to_set
to_ary): 27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@product.reviews) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:42:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 6611)
Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 6675)
Completed 500 Internal Server Error in 63ms (ActiveRecord: 22.5ms | Allocations: 25168)
ActionView::Template::Error (undefined method `reviews_path' for #<ActionView::Base:0x00000000023c58>):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@review) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:44:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 6.3ms | Allocations: 4149)
Rendered layout layouts/application.html.erb (Duration: 6.5ms | Allocations: 4213)
Completed 500 Internal Server Error in 57ms (ActiveRecord: 19.2ms | Allocations: 22531)
ActionView::Template::Error (can't write unknown attribute `builder`):
27: </div> 28: 29: <div class='review-form'> 30: <%= simple_form_for(@product, @review) do |f| %> 31: <%= f.input :title %> 32: <%= f.input :content, as: :text %> 33: <div class='text-right mt-5'>
app/views/products/show.html.erb:30 Started GET “/products/7” for ::1 at 2022-01-30 08:45:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.5ms | Allocations: 8110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 20434)
Completed 200 OK in 54ms (Views: 40.6ms | ActiveRecord: 3.1ms | Allocations: 23492)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 08:45:09 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"", "content"=>""}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:3:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 0.7ms | Allocations: 1110)
Rendered layout layouts/application.html.erb (Duration: 1.0ms | Allocations: 1174)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 2.4ms | Allocations: 4988)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“7”}, missing required keys: [:id] Did you mean? edit_product_url):
1: <div class="product-edit"> 2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %> 3: </div> 4: 5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:9:in `create' Started GET “/products/7” for ::1 at 2022-01-30 08:45:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.1ms | Allocations: 7427)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.6ms | Allocations: 18737)
Completed 200 OK in 33ms (Views: 25.9ms | ActiveRecord: 2.8ms | Allocations: 20997)
Started GET “/products/7/edit” for ::1 at 2022-01-30 08:45:22 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.0ms | Allocations: 12138)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.9ms | Allocations: 24395)
Completed 200 OK in 45ms (Views: 38.4ms | ActiveRecord: 1.6ms | Allocations: 27134)
Started PATCH “/products/7” for ::1 at 2022-01-30 08:45:29 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"qwepori", "name"=>"Name", "description"=>"Kansas city\r\n", "price"=>"10.0", "stock"=>"4"}, "commit"=>"Update product", "id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.5ms)[0m [1m[33mUPDATE "products" SET "description" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["description", "Kansas city\r\n"], ["updated_at", "2022-01-30 13:45:29.166067"], ["id", 7]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (2.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/7 Completed 302 Found in 17ms (ActiveRecord: 6.5ms | Allocations: 4862)
Started GET “/products/7” for ::1 at 2022-01-30 08:45:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 7393)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 18697)
Completed 200 OK in 42ms (Views: 35.1ms | ActiveRecord: 2.7ms | Allocations: 20957)
Started GET “/products/7” for ::1 at 2022-01-30 08:47:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 14.1ms | Allocations: 7900)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.7ms | Allocations: 20160)
Completed 200 OK in 46ms (Views: 36.8ms | ActiveRecord: 3.5ms | Allocations: 23218)
[1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" ORDER BY "reviews"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Started GET “/products/7” for ::1 at 2022-01-30 08:49:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 8.1ms | Allocations: 3961)
Rendered layout layouts/application.html.erb (Duration: 8.2ms | Allocations: 4025)
Completed 500 Internal Server Error in 17ms (ActiveRecord: 3.9ms | Allocations: 7049)
ActionView::Template::Error (wrong number of arguments (given 1, expected 0)):
21: <% else %>
22: <% @product.reviews.each do |review| %>
23: <div class="card">
24: <h5 class="card-header"><p><%= "#{review.user.first_name review.user.last_name}" %></p></h5>
25: <div class="card-body">
26: <h5 class="card-title"><p><%= review.title %></p></h5>
27: <p class="card-text"><p><%= review.content %></p></p>
app/views/products/show.html.erb:24 app/views/products/show.html.erb:22 Started GET “/products/7” for ::1 at 2022-01-30 08:49:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.7ms | Allocations: 8736)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 21053)
Completed 200 OK in 48ms (Views: 35.9ms | ActiveRecord: 4.9ms | Allocations: 24110)
Started GET “/products/7” for ::1 at 2022-01-30 08:50:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 8711)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.2ms | Allocations: 20969)
Completed 200 OK in 42ms (Views: 33.2ms | ActiveRecord: 3.5ms | Allocations: 24021)
Started GET “/products/7” for ::1 at 2022-01-30 08:50:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.6ms | Allocations: 8225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 19536)
Completed 200 OK in 40ms (Views: 30.9ms | ActiveRecord: 3.6ms | Allocations: 21796)
Started GET “/products/7” for ::1 at 2022-01-30 08:50:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.9ms | Allocations: 8721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 20981)
Completed 200 OK in 41ms (Views: 32.2ms | ActiveRecord: 3.7ms | Allocations: 24039)
Started GET “/products/7” for ::1 at 2022-01-30 08:51:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 8219)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1869.6ms | Allocations: 99780)
Completed 200 OK in 1877ms (Views: 1868.1ms | ActiveRecord: 3.7ms | Allocations: 102039)
Started GET “/products/7” for ::1 at 2022-01-30 08:51:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 8705)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 20968)
Completed 200 OK in 46ms (Views: 35.7ms | ActiveRecord: 4.0ms | Allocations: 24027)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Create (2.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "ajshddjd"], ["content", "jsjdgd"], ["product_id", 7], ["user_id", 1], ["created_at", "2022-01-30 13:52:04.369527"], ["updated_at", "2022-01-30 13:52:04.369527"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
Started GET “/products/7” for ::1 at 2022-01-30 08:52:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 8793)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 20046)
Completed 200 OK in 36ms (Views: 26.9ms | ActiveRecord: 3.5ms | Allocations: 22305)
Started GET “/products/7” for ::1 at 2022-01-30 08:52:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.6ms | Allocations: 8783)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1235.0ms | Allocations: 100343)
Completed 200 OK in 1241ms (Views: 1233.6ms | ActiveRecord: 3.4ms | Allocations: 102601)
Started GET “/products/7” for ::1 at 2022-01-30 08:52:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.1ms | Allocations: 8807)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1221.5ms | Allocations: 100370)
Completed 200 OK in 1229ms (Views: 1220.4ms | ActiveRecord: 3.3ms | Allocations: 102628)
Started GET “/products/7” for ::1 at 2022-01-30 08:53:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 16.6ms | Allocations: 9295)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.5ms | Allocations: 21557)
Completed 200 OK in 49ms (Views: 40.1ms | ActiveRecord: 3.5ms | Allocations: 24616)
Started GET “/products/7” for ::1 at 2022-01-30 08:53:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 16.8ms | Allocations: 9263)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 21521)
Completed 200 OK in 54ms (Views: 44.2ms | ActiveRecord: 3.8ms | Allocations: 24574)
Started GET “/products/7” for ::1 at 2022-01-30 08:54:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 26.4ms | Allocations: 8792)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1308.6ms | Allocations: 101286)
Completed 200 OK in 1318ms (Views: 1303.4ms | ActiveRecord: 7.6ms | Allocations: 103545)
Started GET “/products/7” for ::1 at 2022-01-30 08:54:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 16.3ms | Allocations: 8797)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1236.6ms | Allocations: 100804)
Completed 200 OK in 1244ms (Views: 1235.4ms | ActiveRecord: 3.4ms | Allocations: 103063)
Started GET “/products/7” for ::1 at 2022-01-30 08:57:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 20.4ms | Allocations: 10126)
Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 10190)
Completed 500 Internal Server Error in 62ms (ActiveRecord: 21.5ms | Allocations: 24919)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“7”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products/7” for ::1 at 2022-01-30 08:58:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 8.6ms | Allocations: 4559)
Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 4623)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.6ms | Allocations: 7636)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“7”}, missing required keys: [:product_id] Did you mean? new_product_review_path):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_url, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products/7” for ::1 at 2022-01-30 08:58:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 7.0ms | Allocations: 4061)
Rendered layout layouts/application.html.erb (Duration: 7.2ms | Allocations: 4125)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.4ms | Allocations: 6339)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“7”}, missing required keys: [:product_id] Did you mean? new_product_review_path):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_url, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products/7” for ::1 at 2022-01-30 08:59:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 6.8ms | Allocations: 4061)
Rendered layout layouts/application.html.erb (Duration: 6.9ms | Allocations: 4125)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 4.4ms | Allocations: 6338)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“7”}, missing required keys: [:product_id] Did you mean? new_product_review_path):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products” for ::1 at 2022-01-30 08:59:15 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.8ms | Allocations: 3870)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.3ms | Allocations: 16290)
Completed 200 OK in 39ms (Views: 32.5ms | ActiveRecord: 2.1ms | Allocations: 18768)
Started GET “/products” for ::1 at 2022-01-30 09:00:19 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 3616)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1205.4ms | Allocations: 95253)
Completed 200 OK in 1212ms (Views: 1204.9ms | ActiveRecord: 2.4ms | Allocations: 96933)
Started GET “/products/4” for ::1 at 2022-01-30 09:00:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 8.5ms | Allocations: 3289)
Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3362)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.4ms | Allocations: 6425)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“4”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products” for ::1 at 2022-01-30 09:00:24 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 3616)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.2ms | Allocations: 15030)
Completed 200 OK in 30ms (Views: 24.8ms | ActiveRecord: 1.8ms | Allocations: 16816)
Started GET “/products/3” for ::1 at 2022-01-30 09:00:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 3.8ms | Allocations: 2650)
Rendered layout layouts/application.html.erb (Duration: 4.0ms | Allocations: 2714)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 2.3ms | Allocations: 4928)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“3”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products” for ::1 at 2022-01-30 09:00:28 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.3ms | Allocations: 3613)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.5ms | Allocations: 15016)
Completed 200 OK in 31ms (Views: 23.3ms | ActiveRecord: 2.9ms | Allocations: 16787)
Started GET “/products” for ::1 at 2022-01-30 09:00:57 -0500
SyntaxError (/Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' …Product.all.order(:created_at :desc) … ^ /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end'):
app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end' app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end' app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end' Started GET “/products” for ::1 at 2022-01-30 09:01:27 -0500
SyntaxError (/Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' …s = Product.order(:created_at :desc) … ^ /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end'):
app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end' app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end' app/controllers/products_controller.rb:8: syntax error, unexpected ':', expecting ')' app/controllers/products_controller.rb:50: syntax error, unexpected end-of-input, expecting `end'
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products"[0m [1m[36mProduct Load (3.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."created_at" ASC[0m
Started GET “/products” for ::1 at 2022-01-30 09:02:43 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 48.0ms | Allocations: 7711)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 61.8ms | Allocations: 19088)
Completed 200 OK in 97ms (Views: 63.2ms | ActiveRecord: 19.1ms | Allocations: 28492)
Started GET “/products/new” for ::1 at 2022-01-30 09:02:46 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 18.3ms | Allocations: 12159)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 79.1ms | Allocations: 24431)
Completed 200 OK in 86ms (Views: 79.9ms | ActiveRecord: 1.1ms | Allocations: 26233)
Started POST “/products” for ::1 at 2022-01-30 09:02:52 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123", "name"=>"123", "description"=>"123", "price"=>"123", "stock"=>"123"}, "commit"=>"Add product"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mProduct Create (1.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "123"], ["name", "123"], ["description", "123"], ["price", 123.0], ["stock", 123], ["created_at", "2022-01-30 14:02:52.025986"], ["updated_at", "2022-01-30 14:02:52.025986"]]
↳ app/controllers/products_controller.rb:21:in `create'
[1m[36mTRANSACTION (2.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:21:in `create'
Redirected to localhost:3000/products/8 Completed 302 Found in 16ms (ActiveRecord: 5.7ms | Allocations: 3914)
Started GET “/products/8” for ::1 at 2022-01-30 09:02:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.3ms | Allocations: 4401)
Rendered layout layouts/application.html.erb (Duration: 10.5ms | Allocations: 4465)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 5.7ms | Allocations: 6777)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“8”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products/new” for ::1 at 2022-01-30 09:02:57 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 13.3ms | Allocations: 11593)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 23028)
Completed 200 OK in 34ms (Views: 29.5ms | ActiveRecord: 0.8ms | Allocations: 24702)
Started GET “/products” for ::1 at 2022-01-30 09:03:00 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.9ms | Allocations: 3985)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 16210)
Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 2.4ms | Allocations: 17906)
Started GET “/products?query=1&commit=Search” for ::1 at 2022-01-30 09:03:12 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"1", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || '1' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || '1' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 1442)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.1ms | Allocations: 12790)
Completed 200 OK in 27ms (Views: 19.0ms | ActiveRecord: 3.4ms | Allocations: 14924)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 09:03:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 3981)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.5ms | Allocations: 15327)
Completed 200 OK in 35ms (Views: 28.7ms | ActiveRecord: 2.2ms | Allocations: 17019)
Started GET “/products/6” for ::1 at 2022-01-30 09:03:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2651)
Rendered layout layouts/application.html.erb (Duration: 4.4ms | Allocations: 2715)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.5ms | Allocations: 4929)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40: <div class='review-form'>
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:08:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.8ms | Allocations: 4762)
Rendered layout layouts/application.html.erb (Duration: 11.9ms | Allocations: 4826)
Completed 500 Internal Server Error in 51ms (ActiveRecord: 15.4ms | Allocations: 19537)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div>
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:09:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 5.6ms | Allocations: 3152)
Rendered layout layouts/application.html.erb (Duration: 5.9ms | Allocations: 3216)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 3.3ms | Allocations: 6229)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40:
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:09:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 3.9ms | Allocations: 2652)
Rendered layout layouts/application.html.erb (Duration: 4.2ms | Allocations: 2716)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.5ms | Allocations: 4930)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40:
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:09:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 4.5ms | Allocations: 3151)
Rendered layout layouts/application.html.erb (Duration: 4.7ms | Allocations: 3215)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.6ms | Allocations: 6228)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40:
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:09:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 4.0ms | Allocations: 2652)
Rendered layout layouts/application.html.erb (Duration: 4.2ms | Allocations: 2716)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.5ms | Allocations: 4930)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“reviews”, :id=>“6”}, missing required keys: [:product_id] Did you mean? new_product_review_url):
34: </div> 35: 36: <div class="product-edit"> 37: <%= link_to 'Create review', new_product_review_path, class: 'btn btn-outline-primary' %> 38: </div> 39: 40:
app/views/products/show.html.erb:37 Started GET “/products/6” for ::1 at 2022-01-30 09:09:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 5.5ms | Allocations: 3463)
Rendered layout layouts/application.html.erb (Duration: 6.0ms | Allocations: 3527)
Completed 500 Internal Server Error in 43ms (ActiveRecord: 3.3ms | Allocations: 6540)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
36: 37: 38: <div class='review-form'> 39: <%= simple_form_for([ @product, @review ]) do |f| %> 40: <%= f.input :title %> 41: <%= f.input :content, as: :text %> 42: <div class='text-right mt-5'>
app/views/products/show.html.erb:39 Started GET “/products/6” for ::1 at 2022-01-30 09:10:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 21.4ms | Allocations: 8275)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 48.0ms | Allocations: 20600)
Completed 200 OK in 95ms (Views: 47.8ms | ActiveRecord: 18.1ms | Allocations: 38260)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:10:24 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qwqw", "content"=>"qwqw"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:8:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.1ms | Allocations: 1112)
Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 1176)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.2ms | Allocations: 5349)
ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“products”, :product_id=>“6”}, missing required keys: [:id] Did you mean? edit_product_url):
1: <div class="product-edit"> 2: <%= link_to 'Edit product', edit_product_path, class: 'btn btn-outline-primary' %> 3: </div> 4: 5: <div class='product-show-card'>
app/views/products/show.html.erb:2 app/controllers/reviews_controller.rb:14:in `create' Started GET “/products/6” for ::1 at 2022-01-30 09:11:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 15.5ms | Allocations: 7861)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 20181)
Completed 200 OK in 43ms (Views: 34.6ms | ActiveRecord: 3.2ms | Allocations: 23241)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:11:08 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qwqw", "content"=>"qwqw"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:8:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 7307)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 18548)
Completed 200 OK in 37ms (Views: 29.0ms | ActiveRecord: 2.4ms | Allocations: 21842)
Started GET “/products/6/reviews” for ::1 at 2022-01-30 09:11:20 -0500
ActionController::RoutingError (No route matches [GET] “/products/6/reviews”):
Started GET “/products/6/reviews” for ::1 at 2022-01-30 09:12:02 -0500
ActionController::RoutingError (No route matches [GET] “/products/6/reviews”):
Started GET “/products/6” for ::1 at 2022-01-30 09:12:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 8257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 19573)
Completed 200 OK in 96ms (Views: 39.7ms | ActiveRecord: 20.9ms | Allocations: 37232)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:12:14 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qwqwq", "content"=>"qwqw"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 16.3ms | Allocations: 7307)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 47.0ms | Allocations: 18606)
Completed 200 OK in 58ms (Views: 46.1ms | ActiveRecord: 4.5ms | Allocations: 22459)
Started GET “/products/6” for ::1 at 2022-01-30 09:12:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.9ms | Allocations: 7371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.7ms | Allocations: 18619)
Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 2.5ms | Allocations: 20878)
Started GET “/products/6” for ::1 at 2022-01-30 09:13:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.4ms | Allocations: 7846)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 20107)
Completed 200 OK in 68ms (Views: 40.1ms | ActiveRecord: 2.8ms | Allocations: 23165)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:20:35 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"w", "content"=>"e"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 7313)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 18610)
Completed 200 OK in 66ms (Views: 29.8ms | ActiveRecord: 21.1ms | Allocations: 25264)
Started GET “/products/6” for ::1 at 2022-01-30 09:29:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 15.2ms | Allocations: 7857)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.3ms | Allocations: 20174)
Completed 200 OK in 79ms (Views: 42.5ms | ActiveRecord: 22.6ms | Allocations: 26556)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:29:46 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qw", "content"=>"qw"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.0ms | Allocations: 7310)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 18551)
Completed 200 OK in 41ms (Views: 31.5ms | ActiveRecord: 2.9ms | Allocations: 21846)
Started GET “/products/6” for ::1 at 2022-01-30 09:31:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.2ms | Allocations: 7368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 18622)
Completed 200 OK in 39ms (Views: 28.1ms | ActiveRecord: 4.3ms | Allocations: 20881)
Started GET “/products/6” for ::1 at 2022-01-30 09:31:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 13.9ms | Allocations: 7360)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 61.0ms | Allocations: 18663)
Completed 200 OK in 68ms (Views: 59.7ms | ActiveRecord: 3.6ms | Allocations: 20922)
Started GET “/products/6” for ::1 at 2022-01-30 09:31:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.9ms | Allocations: 8258)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 756) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 19575)
Completed 200 OK in 76ms (Views: 24.7ms | ActiveRecord: 21.8ms | Allocations: 37543)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:31:54 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"wqewe", "content"=>"qweqwe"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.9ms | Allocations: 2900)
RuntimeError ():
app/controllers/reviews_controller.rb:7:in `create' Started PUT “/__web_console/repl_sessions/a9948696f26b9d1b42a218b0e59e3f8c” for ::1 at 2022-01-30 09:31:56 -0500 Started PUT “/__web_console/repl_sessions/a9948696f26b9d1b42a218b0e59e3f8c” for ::1 at 2022-01-30 09:31:56 -0500 Started PUT “/__web_console/repl_sessions/a9948696f26b9d1b42a218b0e59e3f8c” for ::1 at 2022-01-30 09:32:11 -0500 Started PUT “/__web_console/repl_sessions/a9948696f26b9d1b42a218b0e59e3f8c” for ::1 at 2022-01-30 09:32:27 -0500 Started GET “/products/6” for ::1 at 2022-01-30 09:32:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 10.2ms | Allocations: 8257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 19573)
Completed 200 OK in 71ms (Views: 23.9ms | ActiveRecord: 18.4ms | Allocations: 37233)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:33:03 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qweq", "content"=>"qweqwe"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 13.8ms | Allocations: 7307)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.0ms | Allocations: 18548)
Completed 200 OK in 41ms (Views: 30.8ms | ActiveRecord: 3.0ms | Allocations: 22401)
Started GET “/products/6/reviews” for ::1 at 2022-01-30 09:33:33 -0500
ActionController::RoutingError (No route matches [GET] “/products/6/reviews”):
Started GET “/products/6” for ::1 at 2022-01-30 09:33:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 19.4ms | Allocations: 8257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 19574)
Completed 200 OK in 85ms (Views: 35.2ms | ActiveRecord: 19.4ms | Allocations: 37234)
Started POST “/products/6/reviews” for ::1 at 2022-01-30 09:33:40 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qwewq", "content"=>"qwe"}, "commit"=>"Create Review", "product_id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering pages/home.html.erb within layouts/application
Rendered pages/home.html.erb within layouts/application (Duration: 1.4ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 783) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.7ms | Allocations: 11521)
Completed 200 OK in 31ms (Views: 23.1ms | ActiveRecord: 1.6ms | Allocations: 15500)
Started GET “/products” for ::1 at 2022-01-30 09:33:42 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 21.4ms | Allocations: 5087)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 58.4ms | Allocations: 16474)
Completed 200 OK in 67ms (Views: 56.5ms | ActiveRecord: 3.5ms | Allocations: 18299)
Started GET “/products/8” for ::1 at 2022-01-30 09:33:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 7382)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 103.7ms | Allocations: 19505)
Completed 200 OK in 119ms (Views: 108.5ms | ActiveRecord: 3.3ms | Allocations: 21768)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:34:22 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qwewqe", "content"=>"qweqwe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Completed 500 Internal Server Error in 50ms (ActiveRecord: 19.1ms | Allocations: 18530)
RuntimeError ():
app/controllers/reviews_controller.rb:8:in `create' Started PUT “/__web_console/repl_sessions/150ffea3415e3540874aa4f82b28a3e3” for ::1 at 2022-01-30 09:34:26 -0500 Started PUT “/__web_console/repl_sessions/150ffea3415e3540874aa4f82b28a3e3” for ::1 at 2022-01-30 09:34:28 -0500 Started GET “/products/8” for ::1 at 2022-01-30 09:34:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 11.0ms | Allocations: 8256)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 26.7ms | Allocations: 19572)
Completed 200 OK in 73ms (Views: 26.5ms | ActiveRecord: 19.6ms | Allocations: 37252)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:34:45 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"3rqwe", "content"=>"rwerwerwer"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "3rqwe"], ["content", "rwerwerwer"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:34:45.581591"], ["updated_at", "2022-01-30 14:34:45.581591"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (2.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 302 Found in 17ms (ActiveRecord: 7.8ms | Allocations: 5178)
Started GET “/products/8” for ::1 at 2022-01-30 09:34:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 8369)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.8ms | Allocations: 19673)
Completed 200 OK in 46ms (Views: 37.2ms | ActiveRecord: 4.6ms | Allocations: 21932)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:34:57 -0500 Processing by ReviewsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "review"=>{"title"=>"qweqwe", "content"=>"qewqeqwe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.7ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qweqwe"], ["content", "qewqeqwe"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:34:57.398782"], ["updated_at", "2022-01-30 14:34:57.398782"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 302 Found in 13ms (ActiveRecord: 5.2ms | Allocations: 4291)
Started GET “/products/8” for ::1 at 2022-01-30 09:34:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 15.8ms | Allocations: 8780)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.6ms | Allocations: 20027)
Completed 200 OK in 38ms (Views: 29.4ms | ActiveRecord: 4.1ms | Allocations: 22285)
Started GET “/products/8” for ::1 at 2022-01-30 09:35:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 9202)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 21464)
Completed 200 OK in 43ms (Views: 33.3ms | ActiveRecord: 3.7ms | Allocations: 24522)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:35:32 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwewe", "content"=>"werwer"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwewe"], ["content", "werwer"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:35:32.222642"], ["updated_at", "2022-01-30 14:35:32.222642"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 14ms (ActiveRecord: 5.0ms | Allocations: 4357)
Started GET “/products/8” for ::1 at 2022-01-30 09:35:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 21.2ms | Allocations: 9595)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 20921)
Completed 200 OK in 46ms (Views: 35.6ms | ActiveRecord: 5.7ms | Allocations: 24810)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:37:17 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qweqwe", "content"=>"qwewqe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.7ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qweqwe"], ["content", "qwewqe"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:37:17.317068"], ["updated_at", "2022-01-30 14:37:17.317068"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 16ms (ActiveRecord: 6.1ms | Allocations: 4355)
Started GET “/products/8” for ::1 at 2022-01-30 09:37:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (4.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (3.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 30.3ms | Allocations: 10898)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 72.2ms | Allocations: 22205)
Completed 200 OK in 89ms (Views: 68.8ms | ActiveRecord: 12.4ms | Allocations: 24476)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:37:22 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qwewqe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.8ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwe"], ["content", "qwewqe"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:37:22.939490"], ["updated_at", "2022-01-30 14:37:22.939490"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 16ms (ActiveRecord: 6.1ms | Allocations: 4354)
Started GET “/products/8” for ::1 at 2022-01-30 09:37:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (3.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 31.6ms | Allocations: 10574)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 48.9ms | Allocations: 21822)
Completed 200 OK in 62ms (Views: 45.7ms | ActiveRecord: 9.2ms | Allocations: 24981)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]] [1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]] [1m[36mReview Destroy (1.5ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
Started GET “/products/8” for ::1 at 2022-01-30 09:40:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 12.3ms | Allocations: 7310)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.6ms | Allocations: 18560)
Completed 200 OK in 39ms (Views: 30.4ms | ActiveRecord: 3.0ms | Allocations: 20818)
Started GET “/products/8” for ::1 at 2022-01-30 09:41:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
Rendered products/show.html.erb within layouts/application (Duration: 13.1ms | Allocations: 7797)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 20118)
Completed 200 OK in 47ms (Views: 38.4ms | ActiveRecord: 2.7ms | Allocations: 23177)
Started GET “/products/8” for ::1 at 2022-01-30 09:43:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:18
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 7825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 20141)
Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 2.7ms | Allocations: 23200)
Started GET “/products/8” for ::1 at 2022-01-30 09:44:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:18
Rendered products/show.html.erb within layouts/application (Duration: 10.9ms | Allocations: 7317)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1502.2ms | Allocations: 99363)
Completed 200 OK in 1509ms (Views: 1501.9ms | ActiveRecord: 2.7ms | Allocations: 101622)
Started GET “/products/8” for ::1 at 2022-01-30 09:45:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 10.5ms | Allocations: 7828)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1219.1ms | Allocations: 101328)
Completed 200 OK in 1230ms (Views: 1220.7ms | ActiveRecord: 2.6ms | Allocations: 104386)
Started GET “/products/8” for ::1 at 2022-01-30 09:47:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 7828)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1276.2ms | Allocations: 100409)
Completed 200 OK in 1287ms (Views: 1277.1ms | ActiveRecord: 2.9ms | Allocations: 103467)
Started GET “/products/8” for ::1 at 2022-01-30 09:48:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
Rendered products/show.html.erb within layouts/application (Duration: 10.4ms | Allocations: 7340)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1226.1ms | Allocations: 99326)
Completed 200 OK in 1234ms (Views: 1225.9ms | ActiveRecord: 2.4ms | Allocations: 101585)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:48:39 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"wer"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwe"], ["content", "wer"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:48:39.247024"], ["updated_at", "2022-01-30 14:48:39.247024"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 13ms (ActiveRecord: 4.8ms | Allocations: 4354)
Started GET “/products/8” for ::1 at 2022-01-30 09:48:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 10083)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 21333)
Completed 200 OK in 50ms (Views: 39.7ms | ActiveRecord: 5.9ms | Allocations: 23594)
Started GET “/products/8” for ::1 at 2022-01-30 09:49:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 18.6ms | Allocations: 8649)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1214.0ms | Allocations: 102175)
Completed 200 OK in 1224ms (Views: 1210.8ms | ActiveRecord: 7.3ms | Allocations: 105234)
Started GET “/products/8” for ::1 at 2022-01-30 09:49:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 13.8ms | Allocations: 8178)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1245.3ms | Allocations: 101652)
Completed 200 OK in 1252ms (Views: 1243.9ms | ActiveRecord: 3.5ms | Allocations: 103911)
Started GET “/products/8” for ::1 at 2022-01-30 09:49:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 13.6ms | Allocations: 8170)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1260.5ms | Allocations: 100742)
Completed 200 OK in 1268ms (Views: 1259.3ms | ActiveRecord: 3.6ms | Allocations: 103000)
Started GET “/products/8” for ::1 at 2022-01-30 09:50:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:20
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:26
Rendered products/show.html.erb within layouts/application (Duration: 14.6ms | Allocations: 8648)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.6ms | Allocations: 20970)
Completed 200 OK in 42ms (Views: 33.5ms | ActiveRecord: 3.9ms | Allocations: 24029)
Started GET “/products/8” for ::1 at 2022-01-30 09:50:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:18
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 13.8ms | Allocations: 8628)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 20942)
Completed 200 OK in 40ms (Views: 31.0ms | ActiveRecord: 3.2ms | Allocations: 23994)
Started GET “/products/8” for ::1 at 2022-01-30 09:51:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:18
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.4ms | Allocations: 8625)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 20884)
Completed 200 OK in 44ms (Views: 34.2ms | ActiveRecord: 3.9ms | Allocations: 23936)
Started GET “/products/8” for ::1 at 2022-01-30 09:51:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 15.5ms | Allocations: 8627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.1ms | Allocations: 20950)
Completed 200 OK in 53ms (Views: 42.7ms | ActiveRecord: 3.6ms | Allocations: 24003)
Started GET “/products/8” for ::1 at 2022-01-30 09:52:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 13.2ms | Allocations: 8651)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.0ms | Allocations: 20970)
Completed 200 OK in 40ms (Views: 31.0ms | ActiveRecord: 3.7ms | Allocations: 24029)
Started GET “/products/8” for ::1 at 2022-01-30 09:52:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 12.6ms | Allocations: 8156)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 19466)
Completed 200 OK in 34ms (Views: 26.8ms | ActiveRecord: 3.3ms | Allocations: 21725)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:52:16 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"wwewe", "content"=>"werwer"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "wwewe"], ["content", "werwer"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:52:16.353230"], ["updated_at", "2022-01-30 14:52:16.353230"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 13ms (ActiveRecord: 4.3ms | Allocations: 4354)
Started GET “/products/8” for ::1 at 2022-01-30 09:52:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 17.5ms | Allocations: 9007)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 20263)
Completed 200 OK in 49ms (Views: 35.9ms | ActiveRecord: 5.9ms | Allocations: 24147)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:52:22 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"123", "content"=>"123"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "123"], ["content", "123"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:52:22.943660"], ["updated_at", "2022-01-30 14:52:22.943660"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 13ms (ActiveRecord: 5.0ms | Allocations: 4354)
Started GET “/products/8” for ::1 at 2022-01-30 09:52:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 21.9ms | Allocations: 9444)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.9ms | Allocations: 20751)
Completed 200 OK in 46ms (Views: 36.1ms | ActiveRecord: 5.0ms | Allocations: 23894)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]] [1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]] [1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
Started GET “/products/8” for ::1 at 2022-01-30 09:54:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 17.4ms | Allocations: 10584)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 22902)
Completed 200 OK in 43ms (Views: 33.3ms | ActiveRecord: 4.9ms | Allocations: 25961)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:54:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"456", "content"=>"456"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "456"], ["content", "456"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:54:45.048153"], ["updated_at", "2022-01-30 14:54:45.048153"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 13ms (ActiveRecord: 5.2ms | Allocations: 4354)
Started GET “/products/8” for ::1 at 2022-01-30 09:54:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (6.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 24.0ms | Allocations: 11519)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 22839)
Completed 200 OK in 54ms (Views: 37.2ms | ActiveRecord: 11.2ms | Allocations: 26128)
Started GET “/products/8” for ::1 at 2022-01-30 09:55:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 11188)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 23508)
Completed 200 OK in 47ms (Views: 36.6ms | ActiveRecord: 4.7ms | Allocations: 26567)
Started GET “/products/8” for ::1 at 2022-01-30 09:57:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 22.7ms | Allocations: 11176)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 48.4ms | Allocations: 23493)
Completed 200 OK in 59ms (Views: 47.5ms | ActiveRecord: 5.3ms | Allocations: 26546)
Started GET “/products/8” for ::1 at 2022-01-30 09:57:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 19.3ms | Allocations: 11175)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 23493)
Completed 200 OK in 45ms (Views: 35.6ms | ActiveRecord: 4.5ms | Allocations: 26552)
Started GET “/products/8” for ::1 at 2022-01-30 09:57:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 23.2ms | Allocations: 11184)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 23509)
Completed 200 OK in 51ms (Views: 40.8ms | ActiveRecord: 4.7ms | Allocations: 26562)
Started GET “/products/8” for ::1 at 2022-01-30 09:57:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 19.9ms | Allocations: 11176)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 23496)
Completed 200 OK in 49ms (Views: 39.4ms | ActiveRecord: 4.4ms | Allocations: 26555)
Started GET “/products/8” for ::1 at 2022-01-30 09:58:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 19.6ms | Allocations: 11174)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.0ms | Allocations: 23490)
Completed 200 OK in 47ms (Views: 36.3ms | ActiveRecord: 4.7ms | Allocations: 26543)
Started GET “/products/8” for ::1 at 2022-01-30 09:58:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 23.0ms | Allocations: 11186)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1153) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 23510)
Completed 200 OK in 51ms (Views: 40.1ms | ActiveRecord: 4.9ms | Allocations: 26569)
Started GET “/products/8” for ::1 at 2022-01-30 09:58:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 11177)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.3ms | Allocations: 23497)
Completed 200 OK in 43ms (Views: 33.5ms | ActiveRecord: 4.5ms | Allocations: 26556)
Started GET “/products/8” for ::1 at 2022-01-30 09:59:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 19.9ms | Allocations: 11179)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 23497)
Completed 200 OK in 51ms (Views: 41.0ms | ActiveRecord: 4.7ms | Allocations: 26556)
Started GET “/products/8” for ::1 at 2022-01-30 09:59:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 23.1ms | Allocations: 11183)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1153) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.3ms | Allocations: 23507)
Completed 200 OK in 49ms (Views: 39.4ms | ActiveRecord: 4.7ms | Allocations: 26560)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 09:59:54 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Great product!", "content"=>"It smells pretty good"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.8ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Great product!"], ["content", "It smells pretty good"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 14:59:54.289005"], ["updated_at", "2022-01-30 14:59:54.289005"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 14ms (ActiveRecord: 5.6ms | Allocations: 4355)
Started GET “/products/8” for ::1 at 2022-01-30 09:59:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 26.5ms | Allocations: 13212)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 44.0ms | Allocations: 24527)
Completed 200 OK in 51ms (Views: 39.8ms | ActiveRecord: 6.6ms | Allocations: 26790)
Started GET “/products/8” for ::1 at 2022-01-30 10:00:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 21.5ms | Allocations: 11276)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1704.0ms | Allocations: 103767)
Completed 200 OK in 1713ms (Views: 1701.6ms | ActiveRecord: 5.0ms | Allocations: 106026)
Started GET “/products/8” for ::1 at 2022-01-30 10:00:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 20.9ms | Allocations: 11299)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 23087)
Completed 200 OK in 48ms (Views: 37.8ms | ActiveRecord: 4.8ms | Allocations: 25345)
[1m[36mReview Destroy (1.3ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
Started GET “/products/8” for ::1 at 2022-01-30 10:01:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:19
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 7325)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 18632)
Completed 200 OK in 62ms (Views: 42.9ms | ActiveRecord: 3.2ms | Allocations: 20891)
Started GET “/products/8” for ::1 at 2022-01-30 10:02:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 7803)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 20064)
Completed 200 OK in 46ms (Views: 36.0ms | ActiveRecord: 3.0ms | Allocations: 23123)
Started GET “/products/8” for ::1 at 2022-01-30 10:02:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 7318)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 18631)
Completed 200 OK in 33ms (Views: 25.6ms | ActiveRecord: 2.5ms | Allocations: 20891)
Started GET “/products/8” for ::1 at 2022-01-30 10:02:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.0ms | Allocations: 7799)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 20120)
Completed 200 OK in 44ms (Views: 36.0ms | ActiveRecord: 2.3ms | Allocations: 23173)
Started GET “/products/8” for ::1 at 2022-01-30 10:02:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 7343)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 18657)
Completed 200 OK in 32ms (Views: 25.7ms | ActiveRecord: 2.3ms | Allocations: 20917)
Started GET “/products/8” for ::1 at 2022-01-30 10:02:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.8ms | Allocations: 7806)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 20068)
Completed 200 OK in 39ms (Views: 30.4ms | ActiveRecord: 2.8ms | Allocations: 23127)
Started GET “/products/8” for ::1 at 2022-01-30 10:03:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 7811)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 20126)
Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 2.6ms | Allocations: 23179)
Started GET “/products/8” for ::1 at 2022-01-30 10:03:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.3ms | Allocations: 7830)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 20150)
Completed 200 OK in 38ms (Views: 30.7ms | ActiveRecord: 2.4ms | Allocations: 23209)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 10:03:24 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qwe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwe"], ["content", "qwe"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 15:03:24.748732"], ["updated_at", "2022-01-30 15:03:24.748732"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 13ms (ActiveRecord: 4.5ms | Allocations: 4355)
Started GET “/products/8” for ::1 at 2022-01-30 10:03:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 22.1ms | Allocations: 10098)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.4ms | Allocations: 22111)
Completed 200 OK in 46ms (Views: 35.8ms | ActiveRecord: 6.0ms | Allocations: 24411)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 11:39:40 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"el titutlo", "content"=>"la mejor gaseosa\n"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (3.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "el titutlo"], ["content", "la mejor gaseosa\n"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 16:39:40.453901"], ["updated_at", "2022-01-30 16:39:40.453901"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (2.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 61ms (ActiveRecord: 23.7ms | Allocations: 7716)
Started GET “/products/8” for ::1 at 2022-01-30 11:39:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (3.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 27.4ms | Allocations: 9724)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 55.5ms | Allocations: 21041)
Completed 200 OK in 65ms (Views: 49.8ms | ActiveRecord: 9.2ms | Allocations: 24252)
Started GET “/products/8” for ::1 at 2022-01-30 11:44:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.5ms | Allocations: 10013)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 45.3ms | Allocations: 22332)
Completed 200 OK in 57ms (Views: 46.7ms | ActiveRecord: 4.9ms | Allocations: 25391)
Started GET “/products/8” for ::1 at 2022-01-30 11:45:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.2ms | Allocations: 10008)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.6ms | Allocations: 22334)
Completed 200 OK in 50ms (Views: 38.8ms | ActiveRecord: 5.1ms | Allocations: 25387)
Started GET “/products/8” for ::1 at 2022-01-30 11:45:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 15.1ms | Allocations: 9526)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 20840)
Completed 200 OK in 35ms (Views: 26.4ms | ActiveRecord: 4.4ms | Allocations: 23100)
Started GET “/products/8” for ::1 at 2022-01-30 11:45:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 10002)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 22263)
Completed 200 OK in 44ms (Views: 33.8ms | ActiveRecord: 4.9ms | Allocations: 25321)
Started GET “/products/8” for ::1 at 2022-01-30 11:47:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 22.1ms | Allocations: 10020)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 45.9ms | Allocations: 22345)
Completed 200 OK in 56ms (Views: 45.0ms | ActiveRecord: 5.4ms | Allocations: 25404)
Started GET “/products/8” for ::1 at 2022-01-30 11:47:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 9516)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 20947)
Completed 200 OK in 36ms (Views: 27.8ms | ActiveRecord: 4.1ms | Allocations: 23207)
Started GET “/products/8” for ::1 at 2022-01-30 11:48:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.8ms | Allocations: 10040)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 22301)
Completed 200 OK in 44ms (Views: 34.1ms | ActiveRecord: 4.5ms | Allocations: 25359)
Started GET “/products/8” for ::1 at 2022-01-30 11:48:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.0ms | Allocations: 10071)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 22396)
Completed 200 OK in 47ms (Views: 37.0ms | ActiveRecord: 4.6ms | Allocations: 25455)
Started GET “/products/8” for ::1 at 2022-01-30 11:48:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 10052)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 22369)
Completed 200 OK in 41ms (Views: 31.3ms | ActiveRecord: 4.3ms | Allocations: 25428)
Started GET “/products/8” for ::1 at 2022-01-30 11:48:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 9535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 750) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 20793)
Completed 200 OK in 36ms (Views: 27.9ms | ActiveRecord: 4.4ms | Allocations: 23052)
Started GET “/products/8” for ::1 at 2022-01-30 11:49:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.7ms | Allocations: 10074)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1609.8ms | Allocations: 104575)
Completed 200 OK in 1620ms (Views: 1609.0ms | ActiveRecord: 4.7ms | Allocations: 107634)
Started GET “/products/8” for ::1 at 2022-01-30 11:50:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 9557)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1163.2ms | Allocations: 101550)
Completed 200 OK in 1170ms (Views: 1160.8ms | ActiveRecord: 4.6ms | Allocations: 103809)
Started GET “/products/8” for ::1 at 2022-01-30 11:50:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 10074)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 22336)
Completed 200 OK in 46ms (Views: 35.7ms | ActiveRecord: 4.5ms | Allocations: 25394)
Started GET “/products/8” for ::1 at 2022-01-30 11:51:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 10056)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 204) Rendered layout layouts/application.html.erb (Duration: 1472.4ms | Allocations: 103625)
Completed 200 OK in 1483ms (Views: 1472.2ms | ActiveRecord: 4.6ms | Allocations: 106678)
Started GET “/products/8” for ::1 at 2022-01-30 11:53:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 11.9ms | Allocations: 6171)
Rendered layout layouts/application.html.erb (Duration: 12.1ms | Allocations: 6235)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 7.0ms | Allocations: 9268)
ActionView::Template::Error (undefined method `[]' for Sun, 30 Jan 2022 16:39:40.453901000 UTC +00:00:Time):
22: <div class="card">
23: <h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
24: <p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
25: <span><%= review.created_at[0,-4] %></span>
26: </h5>
27: <div class="card-body">
28: <h5 class="card-title text-right"><p><%= review.title %></p></h5>
app/views/products/show.html.erb:25 app/views/products/show.html.erb:21 Started GET “/products/8” for ::1 at 2022-01-30 11:53:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 11.0ms | Allocations: 6172)
Rendered layout layouts/application.html.erb (Duration: 11.3ms | Allocations: 6236)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.2ms | Allocations: 9268)
ActionView::Template::Error (undefined method `[]' for Sun, 30 Jan 2022 16:39:40.453901000 UTC +00:00:Time):
22: <div class="card">
23: <h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
24: <p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
25: <span><%= review.created_at[0,3] %></span>
26: </h5>
27: <div class="card-body">
28: <h5 class="card-title text-right"><p><%= review.title %></p></h5>
app/views/products/show.html.erb:25 app/views/products/show.html.erb:21 Started PUT “/__web_console/repl_sessions/d3664d5131f12c5dfff8a61cc2833897” for ::1 at 2022-01-30 11:53:36 -0500 Started PUT “/__web_console/repl_sessions/d3664d5131f12c5dfff8a61cc2833897” for ::1 at 2022-01-30 11:53:37 -0500 Started PUT “/__web_console/repl_sessions/d3664d5131f12c5dfff8a61cc2833897” for ::1 at 2022-01-30 11:53:38 -0500 Started PUT “/__web_console/repl_sessions/d3664d5131f12c5dfff8a61cc2833897” for ::1 at 2022-01-30 11:53:44 -0500 Started PUT “/__web_console/repl_sessions/d3664d5131f12c5dfff8a61cc2833897” for ::1 at 2022-01-30 11:53:45 -0500 Started GET “/products/8” for ::1 at 2022-01-30 11:53:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 33.3ms | Allocations: 10066)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 1.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 77.8ms | Allocations: 22384)
Completed 200 OK in 92ms (Views: 78.9ms | ActiveRecord: 5.1ms | Allocations: 25441)
Started GET “/products/8” for ::1 at 2022-01-30 11:53:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.7ms | Allocations: 10055)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 22373)
Completed 200 OK in 45ms (Views: 33.6ms | ActiveRecord: 5.0ms | Allocations: 25432)
Started GET “/products/8” for ::1 at 2022-01-30 11:54:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 10037)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.4ms | Allocations: 22353)
Completed 200 OK in 43ms (Views: 33.7ms | ActiveRecord: 4.2ms | Allocations: 25405)
Started GET “/products/8” for ::1 at 2022-01-30 11:54:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.5ms | Allocations: 9536)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 20792)
Completed 200 OK in 39ms (Views: 30.1ms | ActiveRecord: 4.7ms | Allocations: 23052)
Started GET “/products/8” for ::1 at 2022-01-30 11:55:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (5.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.6ms | Allocations: 5804)
Rendered layout layouts/application.html.erb (Duration: 16.8ms | Allocations: 5868)
Completed 500 Internal Server Error in 27ms (ActiveRecord: 9.5ms | Allocations: 8898)
ActionView::Template::Error (undefined method `-' for “2022-01-30 16:39:40 UTC”:String Did you mean? -@):
22: <div class="card">
23: <h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
24: <p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
25: <span><%= review.created_at.to_s.slice(0,review.created_at.to_s - 3) %></span>
26: </h5>
27: <div class="card-body">
28: <h5 class="card-title text-right"><p><%= review.title %></p></h5>
app/views/products/show.html.erb:25 app/views/products/show.html.erb:21 Started GET “/products/8” for ::1 at 2022-01-30 11:56:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 10070)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 22388)
Completed 200 OK in 49ms (Views: 39.8ms | ActiveRecord: 4.4ms | Allocations: 25445)
Started GET “/products/8” for ::1 at 2022-01-30 11:56:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 22.8ms | Allocations: 10049)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 22371)
Completed 200 OK in 50ms (Views: 40.2ms | ActiveRecord: 4.5ms | Allocations: 25424)
Started GET “/products/8” for ::1 at 2022-01-30 11:56:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 15.2ms | Allocations: 10050)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 22310)
Completed 200 OK in 40ms (Views: 31.2ms | ActiveRecord: 4.0ms | Allocations: 25368)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 11:56:38 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qweqwe", "content"=>"jhchdj"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qweqwe"], ["content", "jhchdj"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 16:56:38.385404"], ["updated_at", "2022-01-30 16:56:38.385404"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 15ms (ActiveRecord: 6.1ms | Allocations: 4356)
Started GET “/products/8” for ::1 at 2022-01-30 11:56:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (4.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 27.5ms | Allocations: 11201)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 46.8ms | Allocations: 23325)
Completed 200 OK in 54ms (Views: 39.9ms | ActiveRecord: 9.2ms | Allocations: 25633)
Started GET “/” for ::1 at 2022-01-30 11:56:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.3ms | Allocations: 816)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 7.2ms | Allocations: 1902) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 13557)
Completed 200 OK in 31ms (Views: 28.2ms | ActiveRecord: 1.7ms | Allocations: 14597)
Started GET “/products?query=gas&commit=Search” for ::1 at 2022-01-30 11:57:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"gas", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (3.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'gas' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'gas' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 1706)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 13119)
Completed 200 OK in 28ms (Views: 19.2ms | ActiveRecord: 4.1ms | Allocations: 15379)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 11:57:07 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 2212)
Started GET “/” for ::1 at 2022-01-30 11:57:07 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 818) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 16.7ms | Allocations: 11582)
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms | Allocations: 11974)
Started GET “/products” for ::1 at 2022-01-30 11:57:08 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 223)
Started GET “/users/sign_in” for ::1 at 2022-01-30 11:57:08 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 540) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.4ms | Allocations: 9544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 27.0ms | Allocations: 20986)
Completed 200 OK in 32ms (Views: 30.7ms | ActiveRecord: 0.0ms | Allocations: 22551)
Started POST “/users/sign_in” for ::1 at 2022-01-30 11:57:15 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products Completed 302 Found in 219ms (ActiveRecord: 1.1ms | Allocations: 3457)
Started GET “/products” for ::1 at 2022-01-30 11:57:15 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 3988)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 15410)
Completed 200 OK in 23ms (Views: 18.2ms | ActiveRecord: 1.6ms | Allocations: 17110)
Started GET “/products” for ::1 at 2022-01-30 11:57:33 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.1ms | Allocations: 3981)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 15363)
Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 2.6ms | Allocations: 17061)
Started GET “/products” for ::1 at 2022-01-30 11:57:34 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.3ms | Allocations: 3984)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 15387)
Completed 200 OK in 35ms (Views: 27.7ms | ActiveRecord: 2.8ms | Allocations: 17085)
Started GET “/products” for ::1 at 2022-01-30 11:57:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.6ms | Allocations: 3981)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 15327)
Completed 200 OK in 38ms (Views: 30.7ms | ActiveRecord: 3.1ms | Allocations: 17024)
Started GET “/products” for ::1 at 2022-01-30 11:57:36 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.5ms | Allocations: 3981)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 15327)
Completed 200 OK in 42ms (Views: 34.0ms | ActiveRecord: 3.9ms | Allocations: 17024)
Started GET “/products/5” for ::1 at 2022-01-30 11:57:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 10.9ms | Allocations: 7338)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 19475)
Completed 200 OK in 39ms (Views: 32.4ms | ActiveRecord: 2.6ms | Allocations: 21737)
Started GET “/products/5/edit” for ::1 at 2022-01-30 11:57:41 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.3ms | Allocations: 12142)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 24453)
Completed 200 OK in 46ms (Views: 36.5ms | ActiveRecord: 2.0ms | Allocations: 27193)
Started PATCH “/products/5” for ::1 at 2022-01-30 11:57:44 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"Productos", "description"=>"Descripciones1", "price"=>"2.0", "stock"=>"982"}, "commit"=>"Update product", "id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 982], ["updated_at", "2022-01-30 16:57:44.676776"], ["id", 5]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/5 Completed 302 Found in 15ms (ActiveRecord: 5.2ms | Allocations: 4860)
Started GET “/products/5” for ::1 at 2022-01-30 11:57:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 12.1ms | Allocations: 7327)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.7ms | Allocations: 18631)
Completed 200 OK in 35ms (Views: 26.0ms | ActiveRecord: 3.6ms | Allocations: 20891)
Started GET “/products/5/edit” for ::1 at 2022-01-30 11:57:59 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 19.5ms | Allocations: 11617)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 23880)
Completed 200 OK in 47ms (Views: 39.3ms | ActiveRecord: 1.8ms | Allocations: 26494)
Started GET “/products” for ::1 at 2022-01-30 11:58:01 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 3984)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.4ms | Allocations: 16205)
Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 2.0ms | Allocations: 17903)
Started GET “/” for ::1 at 2022-01-30 12:01:52 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1905) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 13562)
Completed 200 OK in 33ms (Views: 31.5ms | ActiveRecord: 1.0ms | Allocations: 13955)
Started GET “/products” for ::1 at 2022-01-30 12:01:52 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3984)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 16255)
Completed 200 OK in 40ms (Views: 33.9ms | ActiveRecord: 2.2ms | Allocations: 17953)
Started GET “/products/6” for ::1 at 2022-01-30 12:01:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 7336)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.7ms | Allocations: 19474)
Completed 200 OK in 36ms (Views: 28.2ms | ActiveRecord: 3.4ms | Allocations: 21736)
Started GET “/users/edit” for ::1 at 2022-01-30 12:02:02 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.2ms | Allocations: 14534)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 26782)
Completed 200 OK in 43ms (Views: 37.5ms | ActiveRecord: 1.1ms | Allocations: 29199)
Started GET “/products/6” for ::1 at 2022-01-30 12:02:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (2.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 17.0ms | Allocations: 7349)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 19459)
Completed 200 OK in 47ms (Views: 35.1ms | ActiveRecord: 4.9ms | Allocations: 21721)
Started GET “/products/6/edit” for ::1 at 2022-01-30 12:02:26 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.1ms | Allocations: 11636)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 23934)
Completed 200 OK in 49ms (Views: 42.2ms | ActiveRecord: 1.7ms | Allocations: 26549)
Started PATCH “/products/6” for ::1 at 2022-01-30 12:02:32 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"23123123", "name"=>"Gaseosa", "description"=>"asaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSas v", "price"=>"2.0", "stock"=>"1"}, "commit"=>"Update product", "id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.8ms)[0m [1m[33mUPDATE "products" SET "description" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["description", "asaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSas v"], ["updated_at", "2022-01-30 17:02:32.442967"], ["id", 6]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/6 Completed 302 Found in 14ms (ActiveRecord: 5.5ms | Allocations: 4770)
Started GET “/products/6” for ::1 at 2022-01-30 12:02:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.9ms | Allocations: 7328)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 18633)
Completed 200 OK in 35ms (Views: 28.3ms | ActiveRecord: 3.1ms | Allocations: 20892)
Started GET “/products/6/edit” for ::1 at 2022-01-30 12:02:38 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.4ms | Allocations: 11607)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 23862)
Completed 200 OK in 42ms (Views: 36.9ms | ActiveRecord: 1.4ms | Allocations: 26476)
Started PATCH “/products/6” for ::1 at 2022-01-30 12:02:41 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"23123123", "name"=>"Gaseosa", "description"=>"asaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSas vasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSa", "price"=>"2.0", "stock"=>"1"}, "commit"=>"Update product", "id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "description" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["description", "asaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSas vasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSaasaSasaSas asaSasaSaasaSasaSas asaSasaSas asaSasaSas asaSasaSa"], ["updated_at", "2022-01-30 17:02:41.553241"], ["id", 6]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/6 Completed 302 Found in 14ms (ActiveRecord: 4.3ms | Allocations: 4770)
Started GET “/products/6” for ::1 at 2022-01-30 12:02:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 7318)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 18624)
Completed 200 OK in 36ms (Views: 30.4ms | ActiveRecord: 2.3ms | Allocations: 20883)
Started GET “/products/6/edit” for ::1 at 2022-01-30 12:02:48 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.4ms | Allocations: 11632)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 23945)
Completed 200 OK in 42ms (Views: 36.0ms | ActiveRecord: 1.4ms | Allocations: 26560)
Started PATCH “/products/6” for ::1 at 2022-01-30 12:03:05 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"23123123", "name"=>"Gaseosa", "description"=>"description descriptio", "price"=>"2.0", "stock"=>"1"}, "commit"=>"Update product", "id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "description" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["description", "description descriptio"], ["updated_at", "2022-01-30 17:03:05.604811"], ["id", 6]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/6 Completed 302 Found in 14ms (ActiveRecord: 4.9ms | Allocations: 4769)
Started GET “/products/6” for ::1 at 2022-01-30 12:03:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 11.2ms | Allocations: 7324)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.8ms | Allocations: 18629)
Completed 200 OK in 33ms (Views: 27.3ms | ActiveRecord: 2.3ms | Allocations: 20888)
Started GET “/products” for ::1 at 2022-01-30 12:03:11 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.1ms | Allocations: 3984)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 16201)
Completed 200 OK in 31ms (Views: 25.6ms | ActiveRecord: 1.9ms | Allocations: 17898)
Started GET “/” for ::1 at 2022-01-30 12:03:12 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 5.5ms | Allocations: 1905) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 13587)
Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 1.0ms | Allocations: 13980)
Started GET “/products” for ::1 at 2022-01-30 12:04:15 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.0ms | Allocations: 3983)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 15386)
Completed 200 OK in 37ms (Views: 31.6ms | ActiveRecord: 1.9ms | Allocations: 17084)
Started GET “/products/new” for ::1 at 2022-01-30 12:04:22 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 18.7ms | Allocations: 11827)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 24154)
Completed 200 OK in 45ms (Views: 37.7ms | ActiveRecord: 1.3ms | Allocations: 25951)
Started POST “/products” for ::1 at 2022-01-30 12:04:30 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"qwe", "description"=>"qwe", "price"=>"2", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:22:in `create'
[1m[36mProduct Create (1.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "12335"], ["name", "qwe"], ["description", "qwe"], ["price", 2.0], ["stock", 2], ["created_at", "2022-01-30 17:04:30.269928"], ["updated_at", "2022-01-30 17:04:30.269928"]]
↳ app/controllers/products_controller.rb:22:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:22:in `create'
Redirected to localhost:3000/products/9 Completed 302 Found in 13ms (ActiveRecord: 4.4ms | Allocations: 3853)
Started GET “/products/9” for ::1 at 2022-01-30 12:04:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 12.0ms | Allocations: 7327)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.0ms | Allocations: 18631)
Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 3.1ms | Allocations: 20891)
Started GET “/products” for ::1 at 2022-01-30 12:04:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 5231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 16580)
Completed 200 OK in 35ms (Views: 28.8ms | ActiveRecord: 2.5ms | Allocations: 18278)
Started GET “/users/edit” for ::1 at 2022-01-30 12:04:50 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.9ms | Allocations: 13754)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 770) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 26054)
Completed 200 OK in 43ms (Views: 38.5ms | ActiveRecord: 0.8ms | Allocations: 27791)
Started GET “/products” for ::1 at 2022-01-30 12:04:52 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.1ms | Allocations: 5121)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 49.1ms | Allocations: 16579)
Completed 200 OK in 79ms (Views: 69.9ms | ActiveRecord: 3.5ms | Allocations: 18275)
Started GET “/products/8” for ::1 at 2022-01-30 12:04:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.2ms | Allocations: 10148)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 22319)
Completed 200 OK in 44ms (Views: 34.7ms | ActiveRecord: 5.3ms | Allocations: 24581)
Started GET “/products” for ::1 at 2022-01-30 12:05:01 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 16.7ms | Allocations: 5221)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 16569)
Completed 200 OK in 41ms (Views: 33.5ms | ActiveRecord: 3.3ms | Allocations: 18267)
Started GET “/products/9” for ::1 at 2022-01-30 12:05:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 7326)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 19497)
Completed 200 OK in 43ms (Views: 34.9ms | ActiveRecord: 3.1ms | Allocations: 21759)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:05:16 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Great product!", "content"=>"This is a great product"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Great product!"], ["content", "This is a great product"], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:05:16.615445"], ["updated_at", "2022-01-30 17:05:16.615445"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 12ms (ActiveRecord: 4.2ms | Allocations: 4354)
Started GET “/products/9” for ::1 at 2022-01-30 12:05:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.4ms | Allocations: 9063)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 20369)
Completed 200 OK in 40ms (Views: 29.8ms | ActiveRecord: 5.7ms | Allocations: 23516)
Started GET “/products/9” for ::1 at 2022-01-30 12:06:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 9461)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 21779)
Completed 200 OK in 53ms (Views: 41.8ms | ActiveRecord: 4.8ms | Allocations: 24838)
Started GET “/products/9” for ::1 at 2022-01-30 12:06:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 9451)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 21772)
Completed 200 OK in 45ms (Views: 35.3ms | ActiveRecord: 4.4ms | Allocations: 24825)
Started GET “/products/9” for ::1 at 2022-01-30 12:06:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 8960)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1449.5ms | Allocations: 101527)
Completed 200 OK in 1455ms (Views: 1447.1ms | ActiveRecord: 4.2ms | Allocations: 103786)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:07:09 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"awesome product", "content"=>"great"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "awesome product"], ["content", "great"], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:07:09.488022"], ["updated_at", "2022-01-30 17:07:09.488022"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 17ms (ActiveRecord: 4.5ms | Allocations: 4355)
Started GET “/products/9” for ::1 at 2022-01-30 12:07:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (2.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 11430)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 46.7ms | Allocations: 22715)
Completed 200 OK in 54ms (Views: 39.2ms | ActiveRecord: 10.1ms | Allocations: 24986)
Started GET “/products/9” for ::1 at 2022-01-30 12:07:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 9532)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1148.3ms | Allocations: 101552)
Completed 200 OK in 1155ms (Views: 1146.0ms | ActiveRecord: 4.6ms | Allocations: 103810)
Started GET “/products/9” for ::1 at 2022-01-30 12:07:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.5ms | Allocations: 9558)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1173.4ms | Allocations: 101610)
Completed 200 OK in 1181ms (Views: 1171.3ms | ActiveRecord: 4.4ms | Allocations: 103868)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:10:58 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 13.7ms | Allocations: 12358)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 780) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 23798)
Completed 200 OK in 89ms (Views: 35.3ms | ActiveRecord: 18.5ms | Allocations: 39208)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:10:59 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 14.1ms | Allocations: 11796)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 23223)
Completed 200 OK in 37ms (Views: 29.6ms | ActiveRecord: 1.7ms | Allocations: 25836)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:11:02 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"qwe", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 20.4ms | Allocations: 15289)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 26703)
Completed 200 OK in 58ms (Views: 40.7ms | ActiveRecord: 4.5ms | Allocations: 32878)
Started GET “/products/9” for ::1 at 2022-01-30 12:11:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.3ms | Allocations: 11645)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 23035)
Completed 200 OK in 78ms (Views: 29.0ms | ActiveRecord: 20.6ms | Allocations: 41224)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:11:20 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 21.3ms | Allocations: 12087)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 45.3ms | Allocations: 24379)
Completed 200 OK in 54ms (Views: 45.8ms | ActiveRecord: 2.0ms | Allocations: 26994)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:11:22 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"qwe", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.2ms | Allocations: 15131)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 26487)
Completed 200 OK in 47ms (Views: 33.1ms | ActiveRecord: 4.3ms | Allocations: 32670)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:11:40 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"qwe", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.0ms | Allocations: 13010)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.9ms | Allocations: 24409)
Completed 200 OK in 49ms (Views: 34.2ms | ActiveRecord: 5.1ms | Allocations: 30317)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:11:44 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"qw", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 26.1ms | Allocations: 14345)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 25759)
Completed 200 OK in 60ms (Views: 45.3ms | ActiveRecord: 4.4ms | Allocations: 31685)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:11:49 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-AB", "name"=>"qwq", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AB"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.8ms | Allocations: 13893)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 25249)
Completed 200 OK in 46ms (Views: 34.4ms | ActiveRecord: 3.9ms | Allocations: 31179)
Started GET “/products/9” for ::1 at 2022-01-30 12:12:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.3ms | Allocations: 11647)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 22966)
Completed 200 OK in 84ms (Views: 31.3ms | ActiveRecord: 18.4ms | Allocations: 41173)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:12:28 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 27.1ms | Allocations: 12089)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 64.5ms | Allocations: 24344)
Completed 200 OK in 70ms (Views: 64.9ms | ActiveRecord: 1.1ms | Allocations: 26958)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:12:29 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"12335", "name"=>"qwe", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 40.9ms | Allocations: 15113)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 72.7ms | Allocations: 26472)
Completed 200 OK in 95ms (Views: 73.1ms | ActiveRecord: 6.0ms | Allocations: 32656)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:12:35 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123d", "name"=>"qwe", "description"=>"qwe", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123d"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 20.2ms | Allocations: 13876)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 25233)
Completed 200 OK in 52ms (Views: 38.8ms | ActiveRecord: 4.2ms | Allocations: 31165)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:12:45 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123d", "name"=>"qwe", "description"=>"qwewqdwdwq", "price"=>"2.0", "stock"=>"-1"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123d"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13451)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 24812)
Completed 200 OK in 50ms (Views: 35.9ms | ActiveRecord: 4.2ms | Allocations: 30748)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:13:03 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"123d", "name"=>"qwe", "description"=>"qwewqdwdwq", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123d"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:35:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 14.4ms | Allocations: 12897)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 781) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 24324)
Completed 200 OK in 79ms (Views: 31.7ms | ActiveRecord: 15.7ms | Allocations: 42737)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:13:08 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"qwe", "description"=>"qwewqdwdwq", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "sku" = $1, "description" = $2, "updated_at" = $3 WHERE "products"."id" = $4[0m [["sku", "1234-ABC"], ["description", "qwewqdwdwq"], ["updated_at", "2022-01-30 17:13:08.859425"], ["id", 9]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/9 Completed 302 Found in 18ms (ActiveRecord: 5.7ms | Allocations: 5894)
Started GET “/products/9” for ::1 at 2022-01-30 12:13:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.8ms | Allocations: 11619)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 22924)
Completed 200 OK in 55ms (Views: 33.3ms | ActiveRecord: 11.2ms | Allocations: 28776)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:13:13 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 13.6ms | Allocations: 11797)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.1ms | Allocations: 23333)
Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 1.7ms | Allocations: 26666)
Started GET “/” for ::1 at 2022-01-30 12:13:16 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1902) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 13565)
Completed 200 OK in 37ms (Views: 35.0ms | ActiveRecord: 1.0ms | Allocations: 14605)
Started GET “/products” for ::1 at 2022-01-30 12:13:17 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.9ms | Allocations: 4605)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.2ms | Allocations: 16891)
Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 1.9ms | Allocations: 18715)
Started GET “/products/7” for ::1 at 2022-01-30 12:13:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.8ms | Allocations: 10429)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 21677)
Completed 200 OK in 45ms (Views: 34.0ms | ActiveRecord: 5.2ms | Allocations: 23939)
Started GET “/products/7” for ::1 at 2022-01-30 12:13:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.7ms | Allocations: 11710)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 23030)
Completed 200 OK in 79ms (Views: 29.0ms | ActiveRecord: 21.7ms | Allocations: 41359)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:01 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>""}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 46.2ms | Allocations: 14713)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 740) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 62.1ms | Allocations: 26280)
Completed 200 OK in 71ms (Views: 60.6ms | ActiveRecord: 5.2ms | Allocations: 29903)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:04 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"q", "content"=>"q"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.3ms | Allocations: 12110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 738) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 23340)
Completed 200 OK in 49ms (Views: 38.5ms | ActiveRecord: 5.5ms | Allocations: 26248)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:11 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 10837)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 736) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 22066)
Completed 200 OK in 41ms (Views: 30.4ms | ActiveRecord: 4.5ms | Allocations: 24965)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 10825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 22111)
Completed 200 OK in 38ms (Views: 29.2ms | ActiveRecord: 4.1ms | Allocations: 25011)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.2ms | Allocations: 10825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 22052)
Completed 200 OK in 38ms (Views: 29.3ms | ActiveRecord: 4.3ms | Allocations: 24950)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.5ms | Allocations: 10820)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 738) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 22104)
Completed 200 OK in 44ms (Views: 34.9ms | ActiveRecord: 4.7ms | Allocations: 25002)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:13 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.3ms | Allocations: 10849)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 736) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.3ms | Allocations: 22078)
Completed 200 OK in 38ms (Views: 29.2ms | ActiveRecord: 4.0ms | Allocations: 24977)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:13 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsd"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 10825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 22109)
Completed 200 OK in 38ms (Views: 28.4ms | ActiveRecord: 4.3ms | Allocations: 25007)
Started POST “/products/7/reviews” for ::1 at 2022-01-30 12:14:19 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qsdsd", "content"=>"qsdsdasfdfsdfdsf"}, "commit"=>"Create Review", "product_id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.2ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qsdsd"], ["content", "qsdsdasfdfsdfdsf"], ["product_id", 7], ["user_id", 1], ["created_at", "2022-01-30 17:14:19.630544"], ["updated_at", "2022-01-30 17:14:19.630544"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/7 Completed 200 OK in 14ms (ActiveRecord: 5.7ms | Allocations: 4415)
Started GET “/products/7” for ::1 at 2022-01-30 12:14:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 27.8ms | Allocations: 11112)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 50.9ms | Allocations: 22530)
Completed 200 OK in 57ms (Views: 46.5ms | ActiveRecord: 6.3ms | Allocations: 24792)
Started GET “/products/7” for ::1 at 2022-01-30 12:14:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.5ms | Allocations: 10757)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 23076)
Completed 200 OK in 54ms (Views: 40.0ms | ActiveRecord: 4.2ms | Allocations: 26135)
Started GET “/products” for ::1 at 2022-01-30 12:14:46 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 4696)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 750) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 26.2ms | Allocations: 16056)
Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 2.2ms | Allocations: 18676)
Started GET “/products/9” for ::1 at 2022-01-30 12:14:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.6ms | Allocations: 9617)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 21790)
Completed 200 OK in 46ms (Views: 36.5ms | ActiveRecord: 4.7ms | Allocations: 24053)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:49 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>""}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 27.6ms | Allocations: 14574)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 743) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 26145)
Completed 200 OK in 51ms (Views: 42.5ms | ActiveRecord: 4.1ms | Allocations: 29666)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:51 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"23", "content"=>"3"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.7ms | Allocations: 12126)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 738) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 23412)
Completed 200 OK in 43ms (Views: 33.4ms | ActiveRecord: 4.2ms | Allocations: 26320)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:52 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"23", "content"=>"3"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 12112)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.3ms | Allocations: 23340)
Completed 200 OK in 42ms (Views: 32.2ms | ActiveRecord: 4.2ms | Allocations: 26247)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:52 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"23", "content"=>"3"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.9ms | Allocations: 12115)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 23399)
Completed 200 OK in 40ms (Views: 30.6ms | ActiveRecord: 4.2ms | Allocations: 26305)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:52 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"23", "content"=>"3"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 12135)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 738) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 23421)
Completed 200 OK in 43ms (Views: 31.4ms | ActiveRecord: 4.0ms | Allocations: 26327)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:14:55 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"23rr", "content"=>"3ewrewrewrer"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "23rr"], ["content", "3ewrewrewrer"], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:14:55.472914"], ["updated_at", "2022-01-30 17:14:55.472914"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 13ms (ActiveRecord: 4.7ms | Allocations: 4385)
Started GET “/products/9” for ::1 at 2022-01-30 12:14:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 10951)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 22546)
Completed 200 OK in 47ms (Views: 38.1ms | ActiveRecord: 5.4ms | Allocations: 24808)
Started GET “/products/9” for ::1 at 2022-01-30 12:16:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 10740)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.8ms | Allocations: 23001)
Completed 200 OK in 48ms (Views: 39.3ms | ActiveRecord: 3.9ms | Allocations: 26060)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:16:10 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>""}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 15187)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 743) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 41.1ms | Allocations: 26758)
Completed 200 OK in 54ms (Views: 39.3ms | ActiveRecord: 5.2ms | Allocations: 30279)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:16:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"we", "content"=>""}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 26.2ms | Allocations: 13930)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 25215)
Completed 200 OK in 49ms (Views: 38.3ms | ActiveRecord: 5.0ms | Allocations: 28133)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:16:13 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"we", "content"=>"we"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.9ms | Allocations: 12713)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 23941)
Completed 200 OK in 44ms (Views: 33.9ms | ActiveRecord: 4.5ms | Allocations: 26848)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:16:14 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"we", "content"=>"we"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 23.2ms | Allocations: 12719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 24004)
Completed 200 OK in 44ms (Views: 34.3ms | ActiveRecord: 4.6ms | Allocations: 26912)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:16:14 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"we", "content"=>"we"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.5ms | Allocations: 12725)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 24010)
Completed 200 OK in 43ms (Views: 33.5ms | ActiveRecord: 4.7ms | Allocations: 26917)
Started GET “/products/9” for ::1 at 2022-01-30 12:16:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.7ms | Allocations: 10743)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 23061)
Completed 200 OK in 47ms (Views: 37.9ms | ActiveRecord: 4.1ms | Allocations: 26120)
Started GET “/products/9” for ::1 at 2022-01-30 12:17:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Completed 500 Internal Server Error in 36ms (ActiveRecord: 12.8ms | Allocations: 15085)
ArgumentError (You need to supply at least one validation):
app/models/review.rb:6:in `<class:Review>' app/models/review.rb:1:in `<main>' app/controllers/products_controller.rb:13:in `show' Started GET “/products/9” for ::1 at 2022-01-30 12:17:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 12288)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 23608)
Completed 200 OK in 83ms (Views: 35.7ms | ActiveRecord: 20.3ms | Allocations: 41807)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:17:23 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"235435", "content"=>""}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "235435"], ["content", ""], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:17:23.048429"], ["updated_at", "2022-01-30 17:17:23.048429"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 19ms (ActiveRecord: 6.7ms | Allocations: 4508)
Started GET “/products/9” for ::1 at 2022-01-30 12:17:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 30.7ms | Allocations: 11088)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 63.0ms | Allocations: 22337)
Completed 200 OK in 72ms (Views: 60.1ms | ActiveRecord: 6.2ms | Allocations: 26221)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:17:31 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"wssd"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 37.3ms | Allocations: 11973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 743) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 76.2ms | Allocations: 23487)
Completed 200 OK in 90ms (Views: 75.9ms | ActiveRecord: 5.4ms | Allocations: 26957)
Started GET “/products/9” for ::1 at 2022-01-30 12:18:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.5ms | Allocations: 11193)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 23456)
Completed 200 OK in 44ms (Views: 33.0ms | ActiveRecord: 4.9ms | Allocations: 26514)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:18:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>""}, "commit"=>"Add product", "product_id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 11825)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.0ms | Allocations: 23338)
Completed 200 OK in 44ms (Views: 34.4ms | ActiveRecord: 4.4ms | Allocations: 26809)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:18:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"w", "content"=>""}, "commit"=>"Add product", "product_id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "w"], ["content", ""], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:18:45.628282"], ["updated_at", "2022-01-30 17:18:45.628282"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 13ms (ActiveRecord: 4.7ms | Allocations: 4360)
Started GET “/products/9” for ::1 at 2022-01-30 12:18:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (2.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 28.4ms | Allocations: 12277)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 23534)
Completed 200 OK in 50ms (Views: 39.4ms | ActiveRecord: 6.5ms | Allocations: 25796)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:18:48 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"qasa"}, "commit"=>"Add product", "product_id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 21.0ms | Allocations: 12433)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 23718)
Completed 200 OK in 50ms (Views: 35.5ms | ActiveRecord: 4.8ms | Allocations: 26596)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:18:48 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"qasa"}, "commit"=>"Add product", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.9ms | Allocations: 12421)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 23704)
Completed 200 OK in 41ms (Views: 31.3ms | ActiveRecord: 4.5ms | Allocations: 26579)
Started GET “/products/9” for ::1 at 2022-01-30 12:19:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 14006)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1156) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 26333)
Completed 200 OK in 84ms (Views: 38.8ms | ActiveRecord: 19.7ms | Allocations: 45240)
Started GET “/products/9” for ::1 at 2022-01-30 12:19:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.3ms | Allocations: 13489)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 24808)
Completed 200 OK in 77ms (Views: 32.1ms | ActiveRecord: 17.9ms | Allocations: 42989)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:37 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>""}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.9ms | Allocations: 12167)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 743) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.6ms | Allocations: 23738)
Completed 200 OK in 47ms (Views: 32.5ms | ActiveRecord: 4.7ms | Allocations: 27270)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:39 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.6ms | Allocations: 12135)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 23362)
Completed 200 OK in 42ms (Views: 33.0ms | ActiveRecord: 4.5ms | Allocations: 26237)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:58 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 12134)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 23362)
Completed 200 OK in 48ms (Views: 37.3ms | ActiveRecord: 4.8ms | Allocations: 26238)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:59 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.6ms | Allocations: 12137)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 738) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 23423)
Completed 200 OK in 44ms (Views: 35.7ms | ActiveRecord: 4.0ms | Allocations: 26299)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:59 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 19.6ms | Allocations: 12163)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 737) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 23448)
Completed 200 OK in 42ms (Views: 33.1ms | ActiveRecord: 4.5ms | Allocations: 26322)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:59 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.1ms | Allocations: 12135)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 23362)
Completed 200 OK in 41ms (Views: 31.8ms | ActiveRecord: 4.4ms | Allocations: 26235)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:19:59 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 20.8ms | Allocations: 12135)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 735) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 23362)
Completed 200 OK in 43ms (Views: 32.7ms | ActiveRecord: 5.1ms | Allocations: 26235)
Started POST “/products/9/reviews” for ::1 at 2022-01-30 12:20:01 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"rr"}, "commit"=>"Create Review", "product_id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.2ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwe"], ["content", "rr"], ["product_id", 9], ["user_id", 1], ["created_at", "2022-01-30 17:20:01.376178"], ["updated_at", "2022-01-30 17:20:01.376178"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/9 Completed 200 OK in 17ms (ActiveRecord: 5.4ms | Allocations: 4392)
Started GET “/products/9” for ::1 at 2022-01-30 12:20:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 34.1ms | Allocations: 13021)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 52.6ms | Allocations: 24328)
Completed 200 OK in 61ms (Views: 49.4ms | ActiveRecord: 5.4ms | Allocations: 26590)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:20:16 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 21.3ms | Allocations: 12330)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 24637)
Completed 200 OK in 49ms (Views: 39.7ms | ActiveRecord: 2.3ms | Allocations: 27377)
Started GET “/products” for ::1 at 2022-01-30 12:21:05 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 18.1ms | Allocations: 5511)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 16867)
Completed 200 OK in 48ms (Views: 38.0ms | ActiveRecord: 3.4ms | Allocations: 18690)
Started GET “/products/8” for ::1 at 2022-01-30 12:21:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 24.9ms | Allocations: 10194)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 44.1ms | Allocations: 22376)
Completed 200 OK in 50ms (Views: 41.3ms | ActiveRecord: 4.7ms | Allocations: 24639)
Started GET “/products/8/edit” for ::1 at 2022-01-30 12:21:09 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.1ms | Allocations: 11810)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.4ms | Allocations: 24100)
Completed 200 OK in 42ms (Views: 32.9ms | ActiveRecord: 2.0ms | Allocations: 26715)
Started GET “/products/8” for ::1 at 2022-01-30 12:21:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.9ms | Allocations: 10711)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 23030)
Completed 200 OK in 49ms (Views: 39.4ms | ActiveRecord: 3.9ms | Allocations: 26089)
Started GET “/products/8” for ::1 at 2022-01-30 12:21:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 10198)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 21513)
Completed 200 OK in 54ms (Views: 38.7ms | ActiveRecord: 5.6ms | Allocations: 23773)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 12:21:35 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"", "content"=>"wewe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 18.4ms | Allocations: 10941)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 742) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 22511)
Completed 200 OK in 43ms (Views: 34.0ms | ActiveRecord: 4.4ms | Allocations: 25980)
Started POST “/products/8/reviews” for ::1 at 2022-01-30 12:21:37 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"w", "content"=>"wewe"}, "commit"=>"Create Review", "product_id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "w"], ["content", "wewe"], ["product_id", 8], ["user_id", 1], ["created_at", "2022-01-30 17:21:37.746044"], ["updated_at", "2022-01-30 17:21:37.746044"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/8 Completed 200 OK in 12ms (ActiveRecord: 4.7ms | Allocations: 4360)
Started GET “/products/8” for ::1 at 2022-01-30 12:21:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (2.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 24.4ms | Allocations: 11801)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 23107)
Completed 200 OK in 46ms (Views: 34.8ms | ActiveRecord: 6.4ms | Allocations: 25369)
Started GET “/products/8/edit” for ::1 at 2022-01-30 12:22:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.1ms | Allocations: 12061)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1177) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 47.8ms | Allocations: 25382)
Completed 200 OK in 55ms (Views: 49.5ms | ActiveRecord: 1.2ms | Allocations: 28797)
Started GET “/products” for ::1 at 2022-01-30 12:22:31 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 5483)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 750) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 16840)
Completed 200 OK in 32ms (Views: 24.8ms | ActiveRecord: 2.3ms | Allocations: 18663)
Started GET “/products/9” for ::1 at 2022-01-30 12:22:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:17
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:21
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:24
Rendered products/show.html.erb within layouts/application (Duration: 29.3ms | Allocations: 13300)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 46.2ms | Allocations: 24720)
Completed 200 OK in 52ms (Views: 43.2ms | ActiveRecord: 5.0ms | Allocations: 27108)
Started GET “/products/9” for ::1 at 2022-01-30 12:25:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 6.0ms | Allocations: 4959)
Rendered layout layouts/application.html.erb (Duration: 6.1ms | Allocations: 5023)
Completed 500 Internal Server Error in 56ms (ActiveRecord: 18.6ms | Allocations: 23863)
ActionView::Template::Error (undefined local variable or method `product' for #<ActionView::Base:0x00000000057530> Did you mean? @product):
1: <div class="product-edit">
2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
3: <%= button_to "Remove product", {:controller => :products,
4: :action => 'destroy', :id => product.id }, :method => :delete,
5: class: 'btn btn-danger-book' %>
6: </div>
7:
app/views/products/show.html.erb:4 Started GET “/products/9” for ::1 at 2022-01-30 12:25:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 24.9ms | Allocations: 15371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 44.2ms | Allocations: 27695)
Completed 200 OK in 53ms (Views: 42.9ms | ActiveRecord: 4.9ms | Allocations: 30752)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:25:48 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 10ms (ActiveRecord: 1.3ms | Allocations: 3766)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:25:50 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 6ms (ActiveRecord: 1.6ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:25:55 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 8ms (ActiveRecord: 2.0ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:25:56 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 7ms (ActiveRecord: 1.5ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:25:57 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 7ms (ActiveRecord: 1.7ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:26:00 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 6ms (ActiveRecord: 1.6ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:26:01 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 6ms (ActiveRecord: 1.5ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:26:04 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 6ms (ActiveRecord: 1.5ms | Allocations: 2169)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:26:05 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 6ms (ActiveRecord: 1.6ms | Allocations: 2169)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:26:07 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 27.6ms | Allocations: 12330)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 24672)
Completed 200 OK in 55ms (Views: 45.5ms | ActiveRecord: 2.4ms | Allocations: 27413)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:26:11 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"qwe", "description"=>"qwewqdwdwq", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/9 Completed 302 Found in 14ms (ActiveRecord: 3.8ms | Allocations: 5347)
Started GET “/products/9” for ::1 at 2022-01-30 12:26:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 18.1ms | Allocations: 12173)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 23477)
Completed 200 OK in 39ms (Views: 30.8ms | ActiveRecord: 4.1ms | Allocations: 25736)
Started GET “/products/9/edit” for ::1 at 2022-01-30 12:26:16 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 15.9ms | Allocations: 11801)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 24056)
Completed 200 OK in 47ms (Views: 38.9ms | ActiveRecord: 2.1ms | Allocations: 26670)
Started PATCH “/products/9” for ::1 at 2022-01-30 12:26:21 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"qwe", "description"=>"qwewqdwdwq", "price"=>"2.0", "stock"=>"2"}, "commit"=>"Update product", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:34:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:35:in `update'
Redirected to localhost:3000/products/9 Completed 302 Found in 16ms (ActiveRecord: 4.2ms | Allocations: 5089)
Started GET “/products/9” for ::1 at 2022-01-30 12:26:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 12169)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 23474)
Completed 200 OK in 40ms (Views: 31.1ms | ActiveRecord: 4.5ms | Allocations: 25733)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:26:28 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `set_product'
No template found for ProductsController#destroy, rendering head :no_content Completed 204 No Content in 9ms (ActiveRecord: 2.1ms | Allocations: 2169)
Started GET “/products/9” for ::1 at 2022-01-30 12:27:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 9]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 14761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 26077)
Completed 200 OK in 88ms (Views: 38.9ms | ActiveRecord: 20.6ms | Allocations: 44277)
Started DELETE “/products/9” for ::1 at 2022-01-30 12:27:19 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"9"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (1.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 16]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (1.0ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 17]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 19]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 20]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.7ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 21]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 22]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (3.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 33ms (ActiveRecord: 14.5ms | Allocations: 10226)
Started GET “/products” for ::1 at 2022-01-30 12:27:19 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.8ms | Allocations: 4246)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.0ms | Allocations: 15659)
Completed 200 OK in 24ms (Views: 19.5ms | ActiveRecord: 1.4ms | Allocations: 17479)
Started GET “/products/8” for ::1 at 2022-01-30 12:27:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 8]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 10973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 44.0ms | Allocations: 23097)
Completed 200 OK in 51ms (Views: 40.6ms | ActiveRecord: 5.7ms | Allocations: 25362)
Started DELETE “/products/8” for ::1 at 2022-01-30 12:27:22 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"8"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (1.3ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 13]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 14]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (1.6ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 15]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 23]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (1.0ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 22ms (ActiveRecord: 9.9ms | Allocations: 8546)
Started GET “/products” for ::1 at 2022-01-30 12:27:22 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 3617)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.8ms | Allocations: 14963)
Completed 200 OK in 25ms (Views: 19.3ms | ActiveRecord: 2.0ms | Allocations: 16657)
Started GET “/products/7” for ::1 at 2022-01-30 12:27:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 21.4ms | Allocations: 11098)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 22543)
Completed 200 OK in 44ms (Views: 35.2ms | ActiveRecord: 5.0ms | Allocations: 24805)
Started GET “/products/7” for ::1 at 2022-01-30 12:28:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 18.1ms | Allocations: 10890)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1157) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1486.5ms | Allocations: 104008)
Completed 200 OK in 1496ms (Views: 1486.0ms | ActiveRecord: 4.4ms | Allocations: 107066)
Started GET “/products/7” for ::1 at 2022-01-30 12:28:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 18.2ms | Allocations: 10911)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1149) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 23169)
Completed 200 OK in 45ms (Views: 34.4ms | ActiveRecord: 4.3ms | Allocations: 26228)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:28:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.7ms | Allocations: 12380)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.1ms | Allocations: 23860)
Completed 200 OK in 43ms (Views: 34.3ms | ActiveRecord: 2.3ms | Allocations: 27306)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:29:08 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 20.1ms | Allocations: 12067)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1178) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 24513)
Completed 200 OK in 52ms (Views: 44.1ms | ActiveRecord: 1.6ms | Allocations: 27919)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:29:22 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 12.4ms | Allocations: 12082)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1174) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 24518)
Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 1.6ms | Allocations: 27929)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:29:34 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 14.6ms | Allocations: 12072)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1174) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.0ms | Allocations: 24508)
Completed 200 OK in 41ms (Views: 33.1ms | ActiveRecord: 1.8ms | Allocations: 27920)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:29:37 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.3ms | Allocations: 11840)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 23275)
Completed 200 OK in 37ms (Views: 30.5ms | ActiveRecord: 1.4ms | Allocations: 25888)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:30:01 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 12.8ms | Allocations: 11844)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 23269)
Completed 200 OK in 37ms (Views: 28.9ms | ActiveRecord: 1.7ms | Allocations: 25880)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:30:04 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 14.2ms | Allocations: 12079)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1174) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 24517)
Completed 200 OK in 42ms (Views: 35.3ms | ActiveRecord: 1.5ms | Allocations: 27929)
Started GET “/products/8” for ::1 at 2022-01-30 12:30:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Completed 404 Not Found in 5ms (ActiveRecord: 1.6ms | Allocations: 2415)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=8):
app/controllers/products_controller.rb:51:in `set_product' Started GET “/products/7/edit” for ::1 at 2022-01-30 12:30:10 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.5ms | Allocations: 11860)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 23295)
Completed 200 OK in 41ms (Views: 32.5ms | ActiveRecord: 1.6ms | Allocations: 26790)
Started GET “/products” for ::1 at 2022-01-30 12:30:12 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.2ms | Allocations: 3873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 16112)
Completed 200 OK in 39ms (Views: 32.0ms | ActiveRecord: 2.2ms | Allocations: 17934)
Started GET “/products/7” for ::1 at 2022-01-30 12:30:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 25.2ms | Allocations: 10899)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 23027)
Completed 200 OK in 50ms (Views: 40.3ms | ActiveRecord: 5.2ms | Allocations: 25414)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:30:14 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 24.9ms | Allocations: 11830)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 66.3ms | Allocations: 24136)
Completed 200 OK in 78ms (Views: 67.2ms | ActiveRecord: 3.5ms | Allocations: 26752)
Started GET “/products/7” for ::1 at 2022-01-30 12:30:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 26.0ms | Allocations: 10343)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.7ms | Allocations: 22529)
Completed 200 OK in 51ms (Views: 39.7ms | ActiveRecord: 6.3ms | Allocations: 24791)
Started GET “/products/7/edit” for ::1 at 2022-01-30 12:30:17 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 20.1ms | Allocations: 11828)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 24070)
Completed 200 OK in 47ms (Views: 37.8ms | ActiveRecord: 3.4ms | Allocations: 26684)
Started GET “/products/7” for ::1 at 2022-01-30 12:30:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 31.0ms | Allocations: 10338)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 47.3ms | Allocations: 22520)
Completed 200 OK in 54ms (Views: 44.8ms | ActiveRecord: 4.9ms | Allocations: 24782)
Started DELETE “/products/7” for ::1 at 2022-01-30 12:30:21 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (1.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 1]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 2]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 18]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (1.0ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 20ms (ActiveRecord: 8.5ms | Allocations: 7718)
Started GET “/products” for ::1 at 2022-01-30 12:30:21 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.5ms | Allocations: 3255)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 14658)
Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 1.5ms | Allocations: 16352)
Started GET “/products/5” for ::1 at 2022-01-30 12:30:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 12.6ms | Allocations: 7520)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 19705)
Completed 200 OK in 38ms (Views: 31.3ms | ActiveRecord: 2.6ms | Allocations: 21967)
Started GET “/products/5/edit” for ::1 at 2022-01-30 12:30:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.0ms | Allocations: 11868)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.9ms | Allocations: 24085)
Completed 200 OK in 48ms (Views: 38.5ms | ActiveRecord: 2.2ms | Allocations: 26700)
Started GET “/products” for ::1 at 2022-01-30 12:30:31 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.2ms | Allocations: 3254)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 15533)
Completed 200 OK in 36ms (Views: 29.9ms | ActiveRecord: 2.4ms | Allocations: 17231)
Started GET “/products” for ::1 at 2022-01-30 12:31:13 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 3273) Rendered layout layouts/application.html.erb (Duration: 5.3ms | Allocations: 3337)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 2.3ms | Allocations: 5803)
ActionView::Template::Error (undefined method `id' for nil:NilClass):
15: <p class="card-text text-right">Price: $ <%= product.price %></p>
16: <%= link_to 'Buy product', product_path(product), class:'btn btn-primary' %>
17: <%= button_to "Remove", {:controller => :products,
18: :action => 'destroy', :id => @product.id }, :method => :delete,
19: class: 'btn btn-outline-danger' %>
20: </div>
21: </div>
app/views/products/index.html.erb:18 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-01-30 12:31:28 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 4475)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1151) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.7ms | Allocations: 16890)
Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 1.9ms | Allocations: 19383)
Started DELETE “/products/6” for ::1 at 2022-01-30 12:31:30 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"6"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (1.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 40ms (ActiveRecord: 6.7ms | Allocations: 5204)
Started GET “/products” for ::1 at 2022-01-30 12:31:31 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.6ms | Allocations: 3680)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.7ms | Allocations: 15031)
Completed 200 OK in 23ms (Views: 18.1ms | ActiveRecord: 1.7ms | Allocations: 16726)
Started GET “/products” for ::1 at 2022-01-30 12:32:29 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 3961)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 16379)
Completed 200 OK in 38ms (Views: 31.5ms | ActiveRecord: 1.9ms | Allocations: 18868)
Started GET “/products” for ::1 at 2022-01-30 12:33:10 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 3681)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1424.0ms | Allocations: 96289)
Completed 200 OK in 1429ms (Views: 1423.4ms | ActiveRecord: 2.0ms | Allocations: 97984)
Started GET “/products” for ::1 at 2022-01-30 12:33:22 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 3669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1275.2ms | Allocations: 95788)
Completed 200 OK in 1280ms (Views: 1274.7ms | ActiveRecord: 1.9ms | Allocations: 97482)
Started GET “/products” for ::1 at 2022-01-30 12:34:06 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 3669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1526.2ms | Allocations: 96272)
Completed 200 OK in 1531ms (Views: 1525.7ms | ActiveRecord: 1.8ms | Allocations: 97966)
Started GET “/products” for ::1 at 2022-01-30 12:34:42 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.5ms | Allocations: 3669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1227.2ms | Allocations: 96251)
Completed 200 OK in 1232ms (Views: 1226.5ms | ActiveRecord: 2.1ms | Allocations: 97945)
Started GET “/products” for ::1 at 2022-01-30 12:35:07 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 3669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1531.0ms | Allocations: 96283)
Completed 200 OK in 1536ms (Views: 1530.5ms | ActiveRecord: 1.7ms | Allocations: 97977)
Started GET “/products” for ::1 at 2022-01-30 12:35:10 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.8ms | Allocations: 3669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 15014)
Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 2.3ms | Allocations: 16708)
Started DELETE “/products/3” for ::1 at 2022-01-30 12:35:17 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"3"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (1.0ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 18ms (ActiveRecord: 4.8ms | Allocations: 5204)
Started GET “/products” for ::1 at 2022-01-30 12:35:17 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 3149)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.4ms | Allocations: 14550)
Completed 200 OK in 22ms (Views: 17.9ms | ActiveRecord: 1.6ms | Allocations: 16244)
Started DELETE “/products/1” for ::1 at 2022-01-30 12:35:19 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"1"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:43:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mProduct Destroy (1.2ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:44:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 14ms (ActiveRecord: 5.1ms | Allocations: 5204)
Started GET “/products” for ::1 at 2022-01-30 12:35:19 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2624)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 13969)
Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 1.5ms | Allocations: 15664)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:35:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 2641)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 14042)
Completed 200 OK in 28ms (Views: 20.3ms | ActiveRecord: 2.9ms | Allocations: 16175)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:36:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC, created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 6312)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.9ms | Allocations: 17685)
Completed 200 OK in 57ms (Views: 25.2ms | ActiveRecord: 12.2ms | Allocations: 28888)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 12:36:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2624)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 13969)
Completed 200 OK in 26ms (Views: 19.9ms | ActiveRecord: 2.2ms | Allocations: 15662)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:36:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC, created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 14044)
Completed 200 OK in 27ms (Views: 19.8ms | ActiveRecord: 2.6ms | Allocations: 16169)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 12:36:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 15.4ms | Allocations: 7239)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 18612)
Completed 200 OK in 54ms (Views: 25.9ms | ActiveRecord: 13.7ms | Allocations: 28485)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:36:38 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC, created_at[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 13988)
Completed 200 OK in 28ms (Views: 21.0ms | ActiveRecord: 2.4ms | Allocations: 16137)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:36:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 10.8ms | Allocations: 6328)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 17702)
Completed 200 OK in 57ms (Views: 25.0ms | ActiveRecord: 11.9ms | Allocations: 28832)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 12:36:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 6.1ms | Allocations: 2624)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 13969)
Completed 200 OK in 34ms (Views: 29.1ms | ActiveRecord: 1.7ms | Allocations: 15662)
Started GET “/products/new” for ::1 at 2022-01-30 12:36:47 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 43.8ms | Allocations: 12349)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 79.3ms | Allocations: 24614)
Completed 200 OK in 87ms (Views: 79.7ms | ActiveRecord: 0.9ms | Allocations: 26416)
Started POST “/products” for ::1 at 2022-01-30 12:37:07 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1231-ABC", "name"=>"guajaja", "description"=>"descriptions", "price"=>"12", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:22:in `create'
[1m[36mProduct Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1231-ABC"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:22:in `create'
[1m[36mProduct Create (0.9ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1231-ABC"], ["name", "guajaja"], ["description", "descriptions"], ["price", 12.0], ["stock", 2], ["created_at", "2022-01-30 17:37:07.445841"], ["updated_at", "2022-01-30 17:37:07.445841"]]
↳ app/controllers/products_controller.rb:22:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:22:in `create'
Redirected to localhost:3000/products/10 Completed 302 Found in 29ms (ActiveRecord: 5.8ms | Allocations: 5086)
Started GET “/products/10” for ::1 at 2022-01-30 12:37:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 13.5ms | Allocations: 8877)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 752) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 20136)
Completed 200 OK in 49ms (Views: 26.5ms | ActiveRecord: 6.6ms | Allocations: 28250)
Started GET “/products/10/edit” for ::1 at 2022-01-30 12:37:16 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.5ms | Allocations: 12082)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.3ms | Allocations: 24347)
Completed 200 OK in 43ms (Views: 36.8ms | ActiveRecord: 1.7ms | Allocations: 27088)
Started GET “/products/10” for ::1 at 2022-01-30 12:37:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 18.9ms | Allocations: 8211)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 19622)
Completed 200 OK in 50ms (Views: 38.3ms | ActiveRecord: 4.1ms | Allocations: 21885)
Started GET “/products” for ::1 at 2022-01-30 12:37:20 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 3149)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 15429)
Completed 200 OK in 36ms (Views: 29.9ms | ActiveRecord: 2.1ms | Allocations: 17127)
Started GET “/products/new” for ::1 at 2022-01-30 12:37:21 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.1ms | Allocations: 11773)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 24084)
Completed 200 OK in 40ms (Views: 34.3ms | ActiveRecord: 1.2ms | Allocations: 25761)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 12:37:26 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 13988)
Completed 200 OK in 29ms (Views: 20.9ms | ActiveRecord: 2.8ms | Allocations: 16097)
Started GET “/products?query=g&commit=Search” for ::1 at 2022-01-30 12:37:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"g", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'g' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'g' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 1599)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.0ms | Allocations: 12946)
Completed 200 OK in 25ms (Views: 18.7ms | ActiveRecord: 2.6ms | Allocations: 15056)
Started GET “/products?query=de&commit=Search” for ::1 at 2022-01-30 12:37:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"de", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'de' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'de' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 7.4ms | Allocations: 3163)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 14511)
Completed 200 OK in 34ms (Views: 26.7ms | ActiveRecord: 2.7ms | Allocations: 16621)
Started GET “/products/4” for ::1 at 2022-01-30 12:38:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 14.1ms | Allocations: 7527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 19721)
Completed 200 OK in 41ms (Views: 32.0ms | ActiveRecord: 3.0ms | Allocations: 21983)
Started GET “/products” for ::1 at 2022-01-30 12:38:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 3149)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.5ms | Allocations: 15374)
Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 1.9ms | Allocations: 17071)
Started GET “/products/5” for ::1 at 2022-01-30 12:39:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 12.9ms | Allocations: 8275)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.8ms | Allocations: 19621)
Completed 200 OK in 36ms (Views: 27.3ms | ActiveRecord: 3.1ms | Allocations: 21882)
Started GET “/users/sign_in” for ::1 at 2022-01-30 12:39:54 -0500 Processing by Devise::SessionsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.2ms | Allocations: 1751)
Started GET “/” for ::1 at 2022-01-30 12:39:54 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1904) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 12739)
Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 1.2ms | Allocations: 13786)
Started GET “/users” for ::1 at 2022-01-30 12:40:01 -0500
ActionController::RoutingError (No route matches [GET] “/users”):
Started GET “/” for ::1 at 2022-01-30 12:40:22 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1894) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.8ms | Allocations: 12698)
Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.8ms | Allocations: 13087)
Started GET “/” for ::1 at 2022-01-30 12:43:40 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 110)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:30 Rendered shared/_navbar.html.erb (Duration: 23.0ms | Allocations: 8410) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 19852)
Completed 200 OK in 51ms (Views: 39.7ms | ActiveRecord: 7.9ms | Allocations: 21588)
Started GET “/products” for ::1 at 2022-01-30 12:43:41 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 22.2ms | Allocations: 8953)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 750) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.3ms | Allocations: 20277)
Completed 200 OK in 47ms (Views: 30.8ms | ActiveRecord: 8.2ms | Allocations: 24212)
Started GET “/products/4” for ::1 at 2022-01-30 12:43:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 9123)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 20443)
Completed 200 OK in 55ms (Views: 31.2ms | ActiveRecord: 8.5ms | Allocations: 27298)
Started GET “/products” for ::1 at 2022-01-30 12:43:49 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 3183)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 15464)
Completed 200 OK in 38ms (Views: 31.6ms | ActiveRecord: 2.3ms | Allocations: 17163)
Started GET “/products/5” for ::1 at 2022-01-30 12:44:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 13.0ms | Allocations: 7527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 745) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 19674)
Completed 200 OK in 48ms (Views: 41.1ms | ActiveRecord: 2.7ms | Allocations: 21936)
Started POST “/products/5/reviews” for ::1 at 2022-01-30 12:44:30 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"wewe", "content"=>"weweewwe"}, "commit"=>"Create Review", "product_id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "wewe"], ["content", "weweewwe"], ["product_id", 5], ["user_id", 1], ["created_at", "2022-01-30 17:44:30.254081"], ["updated_at", "2022-01-30 17:44:30.254081"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/5 Completed 200 OK in 12ms (ActiveRecord: 4.8ms | Allocations: 5254)
Started GET “/products/5” for ::1 at 2022-01-30 12:44:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 23.2ms | Allocations: 9430)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 20743)
Completed 200 OK in 53ms (Views: 38.3ms | ActiveRecord: 7.2ms | Allocations: 23896)
Started GET “/products/5” for ::1 at 2022-01-30 12:45:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 19.4ms | Allocations: 9767)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1152) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 22084)
Completed 200 OK in 51ms (Views: 41.3ms | ActiveRecord: 4.0ms | Allocations: 25143)
Started DELETE “/reviews/24” for ::1 at 2022-01-30 12:45:10 -0500
AbstractController::ActionNotFound (The action 'destroy' could not be found for ReviewsController Did you mean? create
configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/5” for ::1 at 2022-01-30 12:45:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 14.5ms | Allocations: 9201)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 20511)
Completed 200 OK in 35ms (Views: 26.8ms | ActiveRecord: 3.9ms | Allocations: 22770)
Started DELETE “/reviews/24” for ::1 at 2022-01-30 12:45:57 -0500
AbstractController::ActionNotFound (The action 'destroy' could not be found for ReviewsController Did you mean? create
configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/5” for ::1 at 2022-01-30 12:46:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 13.7ms | Allocations: 9181)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.6ms | Allocations: 20486)
Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 3.9ms | Allocations: 22744)
Started GET “/products/5” for ::1 at 2022-01-30 12:46:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 22.4ms | Allocations: 11790)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 23107)
Completed 200 OK in 82ms (Views: 34.4ms | ActiveRecord: 20.4ms | Allocations: 41307)
Started DELETE “/reviews/24” for ::1 at 2022-01-30 12:46:59 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"24"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 24]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/24 Completed 302 Found in 11ms (ActiveRecord: 4.1ms | Allocations: 4032)
Started GET “/products/24” for ::1 at 2022-01-30 12:46:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Completed 404 Not Found in 4ms (ActiveRecord: 1.2ms | Allocations: 2415)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=24):
app/controllers/products_controller.rb:51:in `set_product' Started PUT “/__web_console/repl_sessions/8f98c1f1610723c9f8c333e6efbdccab” for ::1 at 2022-01-30 12:47:03 -0500 Started PUT “/__web_console/repl_sessions/8f98c1f1610723c9f8c333e6efbdccab” for ::1 at 2022-01-30 12:47:03 -0500 Started GET “/products/5” for ::1 at 2022-01-30 12:47:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 9.6ms | Allocations: 7538)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.6ms | Allocations: 18842)
Completed 200 OK in 31ms (Views: 25.3ms | ActiveRecord: 2.3ms | Allocations: 21099)
Started POST “/products/5/reviews” for ::1 at 2022-01-30 12:47:17 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qwe"}, "commit"=>"Create Review", "product_id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "qwe"], ["content", "qwe"], ["product_id", 5], ["user_id", 1], ["created_at", "2022-01-30 17:47:17.014352"], ["updated_at", "2022-01-30 17:47:17.014352"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/5 Completed 200 OK in 13ms (ActiveRecord: 4.3ms | Allocations: 4440)
Started GET “/products/5” for ::1 at 2022-01-30 12:47:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 11094)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 22400)
Completed 200 OK in 54ms (Views: 43.5ms | ActiveRecord: 5.8ms | Allocations: 24662)
Started DELETE “/reviews/25” for ::1 at 2022-01-30 12:47:19 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"25"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 25]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/25 Completed 302 Found in 11ms (ActiveRecord: 4.4ms | Allocations: 3863)
Started GET “/products/25” for ::1 at 2022-01-30 12:47:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Completed 404 Not Found in 4ms (ActiveRecord: 1.2ms | Allocations: 2415)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=25):
app/controllers/products_controller.rb:51:in `set_product' Started GET “/products/5” for ::1 at 2022-01-30 12:48:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 10.3ms | Allocations: 7538)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.0ms | Allocations: 18842)
Completed 200 OK in 31ms (Views: 24.5ms | ActiveRecord: 2.2ms | Allocations: 21099)
Started GET “/products/5/edit” for ::1 at 2022-01-30 12:48:41 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 30.9ms | Allocations: 12371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 776) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 57.5ms | Allocations: 24711)
Completed 200 OK in 67ms (Views: 58.1ms | ActiveRecord: 2.1ms | Allocations: 27451)
Started GET “/products” for ::1 at 2022-01-30 12:48:42 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.9ms | Allocations: 3479)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 15763)
Completed 200 OK in 38ms (Views: 31.8ms | ActiveRecord: 1.9ms | Allocations: 17587)
Started GET “/products/2” for ::1 at 2022-01-30 12:48:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 23.0ms | Allocations: 7673)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 53.7ms | Allocations: 18944)
Completed 200 OK in 67ms (Views: 55.6ms | ActiveRecord: 3.4ms | Allocations: 21922)
Started GET “/products” for ::1 at 2022-01-30 12:48:46 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.1ms | Allocations: 3178)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 57.7ms | Allocations: 15413)
Completed 200 OK in 64ms (Views: 55.7ms | ActiveRecord: 3.5ms | Allocations: 17110)
Started GET “/products/4” for ::1 at 2022-01-30 12:48:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 9.8ms | Allocations: 7532)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.2ms | Allocations: 18838)
Completed 200 OK in 33ms (Views: 25.0ms | ActiveRecord: 3.0ms | Allocations: 21200)
Started POST “/products/4/reviews” for ::1 at 2022-01-30 12:48:49 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"werewr", "content"=>"ewrewrwer"}, "commit"=>"Create Review", "product_id"=>"4"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.8ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "werewr"], ["content", "ewrewrwer"], ["product_id", 4], ["user_id", 1], ["created_at", "2022-01-30 17:48:49.993792"], ["updated_at", "2022-01-30 17:48:49.993792"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/4 Completed 200 OK in 14ms (ActiveRecord: 5.4ms | Allocations: 4360)
Started GET “/products/4” for ::1 at 2022-01-30 12:48:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 17.3ms | Allocations: 9289)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 20603)
Completed 200 OK in 42ms (Views: 30.4ms | ActiveRecord: 6.5ms | Allocations: 23745)
Started DELETE “/reviews/26” for ::1 at 2022-01-30 12:48:54 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"26"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 26]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/26 Completed 302 Found in 11ms (ActiveRecord: 4.1ms | Allocations: 3863)
Started GET “/products/26” for ::1 at 2022-01-30 12:48:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"26"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Completed 404 Not Found in 4ms (ActiveRecord: 1.3ms | Allocations: 2415)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=26):
app/controllers/products_controller.rb:51:in `set_product' Started GET “/products/26” for ::1 at 2022-01-30 12:49:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"26"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Completed 404 Not Found in 32ms (ActiveRecord: 12.3ms | Allocations: 11423)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=26):
app/controllers/products_controller.rb:51:in `set_product' Started GET “/products/4” for ::1 at 2022-01-30 12:49:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 21.6ms | Allocations: 8978)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 755) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 49.7ms | Allocations: 20294)
Completed 200 OK in 75ms (Views: 49.2ms | ActiveRecord: 8.6ms | Allocations: 29481)
Started POST “/products/4/reviews” for ::1 at 2022-01-30 12:49:25 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"werwer", "content"=>"werewr"}, "commit"=>"Create Review", "product_id"=>"4"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "werwer"], ["content", "werewr"], ["product_id", 4], ["user_id", 1], ["created_at", "2022-01-30 17:49:25.526874"], ["updated_at", "2022-01-30 17:49:25.526874"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/4 Completed 200 OK in 20ms (ActiveRecord: 6.0ms | Allocations: 5254)
Started GET “/products/4” for ::1 at 2022-01-30 12:49:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 47.8ms | Allocations: 11197)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 64.0ms | Allocations: 22497)
Completed 200 OK in 75ms (Views: 57.9ms | ActiveRecord: 9.6ms | Allocations: 24759)
Started DELETE “/reviews/27” for ::1 at 2022-01-30 12:49:27 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"27"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 27]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/reviews/27 Completed 302 Found in 12ms (ActiveRecord: 4.7ms | Allocations: 3961)
Started GET “/reviews/27” for ::1 at 2022-01-30 12:49:27 -0500
ActionController::RoutingError (No route matches [GET] “/reviews/27”):
Started GET “/products/4” for ::1 at 2022-01-30 12:51:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 9503)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1155) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 21824)
Completed 200 OK in 76ms (Views: 32.2ms | ActiveRecord: 16.2ms | Allocations: 40689)
Started POST “/products/4/reviews” for ::1 at 2022-01-30 12:51:37 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sfsdfd", "content"=>"fsdfsdf"}, "commit"=>"Create Review", "product_id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "sfsdfd"], ["content", "fsdfsdf"], ["product_id", 4], ["user_id", 1], ["created_at", "2022-01-30 17:51:37.475053"], ["updated_at", "2022-01-30 17:51:37.475053"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/4 Completed 200 OK in 11ms (ActiveRecord: 3.8ms | Allocations: 5255)
Started GET “/products/4” for ::1 at 2022-01-30 12:51:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 9677)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 751) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.4ms | Allocations: 20946)
Completed 200 OK in 44ms (Views: 32.4ms | ActiveRecord: 5.7ms | Allocations: 24800)
Started DELETE “/reviews/28?product_id=4” for ::1 at 2022-01-30 12:51:40 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"4", "id"=>"28"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (2.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 28]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/4 Completed 302 Found in 11ms (ActiveRecord: 5.1ms | Allocations: 3960)
Started GET “/products/4” for ::1 at 2022-01-30 12:51:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 9.1ms | Allocations: 7512)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.8ms | Allocations: 18759)
Completed 200 OK in 27ms (Views: 22.4ms | ActiveRecord: 2.0ms | Allocations: 21017)
Started GET “/products/4/edit” for ::1 at 2022-01-30 12:51:47 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 15.8ms | Allocations: 12367)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 24622)
Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 2.1ms | Allocations: 27361)
Started GET “/products” for ::1 at 2022-01-30 12:51:48 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 3475)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 15704)
Completed 200 OK in 33ms (Views: 27.6ms | ActiveRecord: 1.9ms | Allocations: 17528)
Started GET “/products/10” for ::1 at 2022-01-30 12:51:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 8280)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.4ms | Allocations: 19629)
Completed 200 OK in 42ms (Views: 32.0ms | ActiveRecord: 3.3ms | Allocations: 21891)
Started POST “/products/10/reviews” for ::1 at 2022-01-30 12:51:53 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"123", "content"=>"123"}, "commit"=>"Create Review", "product_id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.2ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "123"], ["content", "123"], ["product_id", 10], ["user_id", 1], ["created_at", "2022-01-30 17:51:53.166695"], ["updated_at", "2022-01-30 17:51:53.166695"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/10 Completed 200 OK in 13ms (ActiveRecord: 4.6ms | Allocations: 4360)
Started GET “/products/10” for ::1 at 2022-01-30 12:51:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 16.4ms | Allocations: 9329)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.4ms | Allocations: 20628)
Completed 200 OK in 41ms (Views: 29.9ms | ActiveRecord: 5.7ms | Allocations: 23768)
Started POST “/products/10/reviews” for ::1 at 2022-01-30 12:51:57 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"456", "content"=>"456"}, "commit"=>"Create Review", "product_id"=>"10"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "456"], ["content", "456"], ["product_id", 10], ["user_id", 1], ["created_at", "2022-01-30 17:51:57.192420"], ["updated_at", "2022-01-30 17:51:57.192420"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/10 Completed 200 OK in 12ms (ActiveRecord: 4.3ms | Allocations: 4360)
Started GET “/products/10” for ::1 at 2022-01-30 12:51:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 10013)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 746) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.3ms | Allocations: 21317)
Completed 200 OK in 48ms (Views: 38.3ms | ActiveRecord: 4.9ms | Allocations: 24460)
Started DELETE “/reviews/30?product_id=10” for ::1 at 2022-01-30 12:52:00 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"10", "id"=>"30"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.7ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 30]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/10 Completed 302 Found in 11ms (ActiveRecord: 4.3ms | Allocations: 3863)
Started GET “/products/10” for ::1 at 2022-01-30 12:52:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 9194)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 20443)
Completed 200 OK in 36ms (Views: 26.0ms | ActiveRecord: 5.1ms | Allocations: 22702)
Started POST “/products/10/reviews” for ::1 at 2022-01-30 12:52:27 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sdf", "content"=>"sdfsdf"}, "commit"=>"Create Review", "product_id"=>"10"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "sdf"], ["content", "sdfsdf"], ["product_id", 10], ["user_id", 1], ["created_at", "2022-01-30 17:52:27.342845"], ["updated_at", "2022-01-30 17:52:27.342845"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/10 Completed 200 OK in 11ms (ActiveRecord: 4.0ms | Allocations: 4360)
Started GET “/products/10” for ::1 at 2022-01-30 12:52:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (2.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 31.2ms | Allocations: 11761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 47.7ms | Allocations: 23009)
Completed 200 OK in 54ms (Views: 41.1ms | ActiveRecord: 8.8ms | Allocations: 25280)
Started GET “/products/10” for ::1 at 2022-01-30 12:53:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 10455)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1150) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 22716)
Completed 200 OK in 43ms (Views: 33.4ms | ActiveRecord: 4.2ms | Allocations: 25774)
Started GET “/products/10” for ::1 at 2022-01-30 12:53:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 18.6ms | Allocations: 9887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 749) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 21168)
Completed 200 OK in 40ms (Views: 31.0ms | ActiveRecord: 4.4ms | Allocations: 23428)
Started GET “/products/10” for ::1 at 2022-01-30 12:54:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 9876)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1491.8ms | Allocations: 102906)
Completed 200 OK in 1499ms (Views: 1489.5ms | ActiveRecord: 5.0ms | Allocations: 105164)
Started GET “/products/10” for ::1 at 2022-01-30 12:54:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 9894)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 747) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1216.8ms | Allocations: 101967)
Completed 200 OK in 1224ms (Views: 1214.7ms | ActiveRecord: 4.3ms | Allocations: 104226)
Started DELETE “/reviews/29?product_id=10” for ::1 at 2022-01-30 12:54:28 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"10", "id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 29]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/10 Completed 302 Found in 10ms (ActiveRecord: 3.7ms | Allocations: 3863)
Started GET “/products/10” for ::1 at 2022-01-30 12:54:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 13.4ms | Allocations: 9222)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 744) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.3ms | Allocations: 20469)
Completed 200 OK in 31ms (Views: 24.1ms | ActiveRecord: 3.8ms | Allocations: 22727)
Started GET “/products/10” for ::1 at 2022-01-30 12:59:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 35.1ms | Allocations: 12440)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1199) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 24750)
Completed 200 OK in 144ms (Views: 49.6ms | ActiveRecord: 41.6ms | Allocations: 43615)
Started GET “/orders” for ::1 at 2022-01-30 12:59:42 -0500
AbstractController::ActionNotFound (The action 'index' could not be found for OrdersController Did you mean? configure_permitted_parameters):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/orders” for ::1 at 2022-01-30 13:01:51 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application Rendered orders/index.html.erb within layouts/application (Duration: 2.0ms | Allocations: 1719) Rendered layout layouts/application.html.erb (Duration: 2.2ms | Allocations: 1783)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.9ms | Allocations: 4188)
ActionView::Template::Error (undefined method `each_with_index' for nil:NilClass):
13: </tr> 14: </thead> 15: <tbody class='text-center'> 16: <% @orders.each_with_index do |order, index| %> 17: <tr> 18: <th scope="row"><%= index + 1 %></th> 19: <td><%= order.book.title %></td>
app/views/orders/index.html.erb:16 Started GET “/orders” for ::1 at 2022-01-30 13:03:28 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.5ms | Allocations: 714)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1236) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 13283)
Completed 200 OK in 52ms (Views: 27.3ms | ActiveRecord: 8.1ms | Allocations: 22063)
Started GET “/orders” for ::1 at 2022-01-30 13:04:34 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 705)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 813) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1593.3ms | Allocations: 84713)
Completed 200 OK in 1598ms (Views: 1592.9ms | ActiveRecord: 1.8ms | Allocations: 86384)
Started GET “/products” for ::1 at 2022-01-30 13:05:46 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 27.3ms | Allocations: 9085)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 20467)
Completed 200 OK in 58ms (Views: 38.4ms | ActiveRecord: 11.5ms | Allocations: 24394)
Started GET “/orders” for ::1 at 2022-01-30 13:05:47 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.0ms | Allocations: 705)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 22.4ms | Allocations: 13143)
Completed 200 OK in 30ms (Views: 22.1ms | ActiveRecord: 2.3ms | Allocations: 14816)
Started GET “/products” for ::1 at 2022-01-30 13:06:04 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 3178)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 14591)
Completed 200 OK in 38ms (Views: 30.7ms | ActiveRecord: 3.0ms | Allocations: 16289)
Started GET “/products/10” for ::1 at 2022-01-30 13:06:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 19.9ms | Allocations: 11934)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 23258)
Completed 200 OK in 57ms (Views: 31.6ms | ActiveRecord: 10.6ms | Allocations: 30265)
Started GET “/products/10” for ::1 at 2022-01-30 13:06:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 30.6ms | Allocations: 9223)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 54.7ms | Allocations: 21484)
Completed 200 OK in 63ms (Views: 50.7ms | ActiveRecord: 6.6ms | Allocations: 23747)
Started GET “/products” for ::1 at 2022-01-30 13:06:43 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.7ms | Allocations: 3919)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.4ms | Allocations: 15463)
Completed 200 OK in 40ms (Views: 29.7ms | ActiveRecord: 4.7ms | Allocations: 17160)
Started GET “/products/10” for ::1 at 2022-01-30 13:08:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (2.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 24.9ms | Allocations: 9796)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 52.4ms | Allocations: 23026)
Completed 200 OK in 63ms (Views: 51.0ms | ActiveRecord: 6.9ms | Allocations: 26088)
Started GET “/products/10” for ::1 at 2022-01-30 13:08:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 13.4ms | Allocations: 9225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.9ms | Allocations: 20553)
Completed 200 OK in 35ms (Views: 25.8ms | ActiveRecord: 4.4ms | Allocations: 22812)
Started GET “/products” for ::1 at 2022-01-30 13:08:16 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.1ms | Allocations: 4253)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 26.3ms | Allocations: 15766)
Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 2.0ms | Allocations: 17588)
Started GET “/orders/new” for ::1 at 2022-01-30 13:08:18 -0500
AbstractController::ActionNotFound (The action 'new' could not be found for OrdersController Did you mean? configure_permitted_parameters
index):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products” for ::1 at 2022-01-30 13:08:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 3474)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.2ms | Allocations: 15921)
Completed 200 OK in 38ms (Views: 29.2ms | ActiveRecord: 2.6ms | Allocations: 18561)
Started GET “/products/10” for ::1 at 2022-01-30 13:08:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:24
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:27
Rendered products/show.html.erb within layouts/application (Duration: 22.2ms | Allocations: 10705)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 22088)
Completed 200 OK in 51ms (Views: 34.0ms | ActiveRecord: 5.8ms | Allocations: 24476)
Started GET “/products/10” for ::1 at 2022-01-30 13:14:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 9.5ms | Allocations: 5884)
Rendered layout layouts/application.html.erb (Duration: 9.7ms | Allocations: 5948)
Completed 500 Internal Server Error in 49ms (ActiveRecord: 22.5ms | Allocations: 12336)
ActionView::Template::Error (undefined local variable or method `product' for #<ActionView::Base:0x0000000006e460> Did you mean? @product):
14: <p class='product-stock'>Stock: <%= @product.stock %></p> 15: <div class='likes-buy'> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: <%= link_to 'Buy', product_path(product), class:'btn btn-primary' %> 18: </div> 19: </div> 20: </div>
app/views/products/show.html.erb:17 Started GET “/products/10” for ::1 at 2022-01-30 13:16:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:23
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:27
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:30
Rendered products/show.html.erb within layouts/application (Duration: 18.4ms | Allocations: 9830)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1196) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1519.5ms | Allocations: 98451)
Completed 200 OK in 1537ms (Views: 1518.6ms | ActiveRecord: 6.1ms | Allocations: 101508)
Started GET “/products/10” for ::1 at 2022-01-30 13:16:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:23
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:27
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:30
Rendered products/show.html.erb within layouts/application (Duration: 19.7ms | Allocations: 9225)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1228.5ms | Allocations: 99169)
Completed 200 OK in 1236ms (Views: 1225.3ms | ActiveRecord: 5.8ms | Allocations: 101428)
Started GET “/products/10” for ::1 at 2022-01-30 13:17:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:23
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:27
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:30
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 9236)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 20557)
Completed 200 OK in 39ms (Views: 29.7ms | ActiveRecord: 4.7ms | Allocations: 22816)
Started GET “/products/10” for ::1 at 2022-01-30 13:17:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:23
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:27
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:30
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 9802)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 44.0ms | Allocations: 22159)
Completed 200 OK in 55ms (Views: 43.9ms | ActiveRecord: 4.9ms | Allocations: 25217)
Started GET “/products/10” for ::1 at 2022-01-30 13:18:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:29
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:36
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 15640)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 52.5ms | Allocations: 27995)
Completed 200 OK in 62ms (Views: 51.8ms | ActiveRecord: 4.9ms | Allocations: 31047)
Started GET “/products” for ::1 at 2022-01-30 13:18:26 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.5ms | Allocations: 3473)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.9ms | Allocations: 15768)
Completed 200 OK in 44ms (Views: 37.3ms | ActiveRecord: 1.7ms | Allocations: 17591)
Started GET “/products/10” for ::1 at 2022-01-30 13:18:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:29
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:36
Rendered products/show.html.erb within layouts/application (Duration: 40.1ms | Allocations: 15776)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 60.3ms | Allocations: 27173)
Completed 200 OK in 72ms (Views: 55.8ms | ActiveRecord: 7.4ms | Allocations: 29435)
Started GET “/products” for ::1 at 2022-01-30 13:18:31 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.6ms | Allocations: 3178)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 15462)
Completed 200 OK in 46ms (Views: 39.4ms | ActiveRecord: 2.3ms | Allocations: 17159)
Started GET “/products/10” for ::1 at 2022-01-30 13:18:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:29
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 10]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:36
Rendered products/show.html.erb within layouts/application (Duration: 55.5ms | Allocations: 15755)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 70.2ms | Allocations: 27170)
Completed 200 OK in 81ms (Views: 66.4ms | ActiveRecord: 7.4ms | Allocations: 29432)
Started GET “/products/5” for ::1 at 2022-01-30 13:19:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 5.1ms | Allocations: 3027)
Rendered layout layouts/application.html.erb (Duration: 5.4ms | Allocations: 3091)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.5ms | Allocations: 6121)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @product, @order ], remote: true) do |f| %> 19: <%= f.input :title %> 20: <%= f.input :content, as: :text %> 21: <div class='text-right mt-5'>
app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 13:20:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:51:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 4.0ms | Allocations: 3025)
Rendered layout layouts/application.html.erb (Duration: 4.3ms | Allocations: 3089)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.1ms | Allocations: 6118)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @product, @order ]) do |f| %> 19: <%= f.input :title %> 20: <%= f.input :content, as: :text %> 21: <div class='text-right mt-5'>
app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 13:20:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 11.3ms | Allocations: 5032)
Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 5096)
Completed 500 Internal Server Error in 71ms (ActiveRecord: 23.8ms | Allocations: 27309)
ActionView::Template::Error (undefined method `product_orders_path' for #<ActionView::Base:0x00000000071458> Did you mean? product_reviews_path):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @product, @order ]) do |f| %> 19: <%= f.input :title %> 20: <%= f.input :content, as: :text %> 21: <div class='text-right mt-5'>
app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 13:22:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 9.4ms | Allocations: 7590)
Rendered layout layouts/application.html.erb (Duration: 9.6ms | Allocations: 7654)
Completed 500 Internal Server Error in 73ms (ActiveRecord: 20.9ms | Allocations: 29428)
ActionView::Template::Error (undefined method `title' for #<Order:0x00007fb801817228>):
16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @product, @order ]) do |f| %> 19: <%= f.input :title %> 20: <%= f.input :content, as: :text %> 21: <div class='text-right mt-5'> 22: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:19 app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 13:29:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 5.1ms | Allocations: 3271)
Rendered layout layouts/application.html.erb (Duration: 5.3ms | Allocations: 3335)
Completed 500 Internal Server Error in 78ms (ActiveRecord: 24.1ms | Allocations: 30710)
ActionView::Template::Error (No route matches {:action=>“create”, :cart_id=>nil, :controller=>“orders”}, missing required keys: [:cart_id]):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @cart, @order ]) do |f| %> 19: <%= f.input :quantity %> 20: <%= f.input :total, placeholder: '123' %> 21: <div class='text-right mt-5'>
app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 15:05:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 12.5ms | Allocations: 1965)
Rendered layout layouts/application.html.erb (Duration: 12.9ms | Allocations: 2029)
Completed 500 Internal Server Error in 75ms (ActiveRecord: 22.6ms | Allocations: 7632)
ActionView::Template::Error (No route matches {:action=>“create”, :cart_id=>nil, :controller=>“orders”}, missing required keys: [:cart_id]):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @cart, @order ]) do |f| %> 19: <%= f.input :quantity %> 20: <%= f.input :total, placeholder: '123' %> 21: <div class='text-right mt-5'>
app/views/products/show.html.erb:18 Started PUT “/__web_console/repl_sessions/8a19846b517e5810c070fbd8624d09c0” for ::1 at 2022-01-30 15:08:55 -0500 Started PUT “/__web_console/repl_sessions/8a19846b517e5810c070fbd8624d09c0” for ::1 at 2022-01-30 15:08:56 -0500
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mOrder Load (1.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE (user_id = 1)[0m [1m[36mOrder Load (2.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE (user_id = 1) /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]]
Started GET “/products/5” for ::1 at 2022-01-30 15:12:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 4.9ms | Allocations: 3256)
Rendered layout layouts/application.html.erb (Duration: 5.1ms | Allocations: 3320)
Completed 500 Internal Server Error in 72ms (ActiveRecord: 13.0ms | Allocations: 29866)
ActionView::Template::Error (No route matches {:action=>“create”, :cart_id=>nil, :controller=>“orders”}, missing required keys: [:cart_id]):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @cart, @order ]) do |f| %> 19: <%= f.input :quantity %> 20: <div class='text-right mt-5'> 21: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:18 Started PUT “/__web_console/repl_sessions/4a78e646d20bacce6ebd11ec8c969080” for ::1 at 2022-01-30 15:12:40 -0500 Started PUT “/__web_console/repl_sessions/4a78e646d20bacce6ebd11ec8c969080” for ::1 at 2022-01-30 15:12:42 -0500 Started PUT “/__web_console/repl_sessions/4a78e646d20bacce6ebd11ec8c969080” for ::1 at 2022-01-30 15:12:47 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:17:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 12.3ms | Allocations: 5134)
Rendered layout layouts/application.html.erb (Duration: 12.5ms | Allocations: 5198)
Completed 500 Internal Server Error in 24ms (ActiveRecord: 2.7ms | Allocations: 8259)
ActionView::Template::Error (undefined method `product_orders_path' for #<ActionView::Base:0x00000000077650> Did you mean? product_reviews_path):
15: <p class='product-stock'>Stock: <%= @product.stock %></p> 16: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 17: </div> 18: <%= simple_form_for([ @product, @order ]) do |f| %> 19: <%= f.input :quantity %> 20: <div class='text-right mt-5'> 21: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:18 Started GET “/products/5” for ::1 at 2022-01-30 15:19:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 23.3ms | Allocations: 12141)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1200) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 50.4ms | Allocations: 24559)
Completed 200 OK in 127ms (Views: 48.3ms | ActiveRecord: 34.4ms | Allocations: 50416)
Started GET “/products/5/edit” for ::1 at 2022-01-30 15:19:14 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:32:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.3ms | Allocations: 12392)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 48.2ms | Allocations: 24775)
Completed 200 OK in 57ms (Views: 48.8ms | ActiveRecord: 2.1ms | Allocations: 27516)
Started GET “/products/5” for ::1 at 2022-01-30 15:19:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 21.0ms | Allocations: 10586)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 58.6ms | Allocations: 22783)
Completed 200 OK in 66ms (Views: 57.1ms | ActiveRecord: 3.8ms | Allocations: 25077)
Started GET “/products” for ::1 at 2022-01-30 15:19:18 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 4357)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.0ms | Allocations: 15785)
Completed 200 OK in 32ms (Views: 23.5ms | ActiveRecord: 3.3ms | Allocations: 17607)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 15:19:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2665)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 14084)
Completed 200 OK in 27ms (Views: 19.3ms | ActiveRecord: 3.2ms | Allocations: 16219)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 15:19:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 3178)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 14597)
Completed 200 OK in 26ms (Views: 19.9ms | ActiveRecord: 1.9ms | Allocations: 16289)
Started DELETE “/products/10” for ::1 at 2022-01-30 15:19:34 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mReview Destroy (1.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 31]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mProduct Destroy (2.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 10]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mTRANSACTION (2.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 23ms (ActiveRecord: 9.3ms | Allocations: 6682)
Started GET “/products” for ::1 at 2022-01-30 15:19:34 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2648)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 14068)
Completed 200 OK in 22ms (Views: 18.0ms | ActiveRecord: 1.6ms | Allocations: 15762)
Started GET “/products/5” for ::1 at 2022-01-30 15:19:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 18.2ms | Allocations: 11354)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 22840)
Completed 200 OK in 43ms (Views: 34.0ms | ActiveRecord: 2.9ms | Allocations: 25133)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:21:05 -0500
AbstractController::ActionNotFound (The action 'create' could not be found for OrdersController Did you mean? configure_permitted_parameters
index):
actionpack (6.1.4.4) lib/abstract_controller/base.rb:160:in `process' actionview (6.1.4.4) lib/action_view/rendering.rb:39:in `process' actionpack (6.1.4.4) lib/action_controller/metal.rb:190:in `dispatch' actionpack (6.1.4.4) lib/action_controller/metal.rb:254:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:33:in `serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `each' actionpack (6.1.4.4) lib/action_dispatch/journey/router.rb:32:in `serve' actionpack (6.1.4.4) lib/action_dispatch/routing/route_set.rb:842:in `call' warden (1.2.9) lib/warden/manager.rb:36:in `block in call' warden (1.2.9) lib/warden/manager.rb:34:in `catch' warden (1.2.9) lib/warden/manager.rb:34:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/permissions_policy.rb:22:in `call' actionpack (6.1.4.4) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/cookies.rb:689:in `call' activerecord (6.1.4.4) lib/active_record/migration.rb:601:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' activesupport (6.1.4.4) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (6.1.4.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (6.1.4.4) lib/rails/rack/logger.rb:37:in `call_app' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `block in call' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `block in tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:37:in `tagged' activesupport (6.1.4.4) lib/active_support/tagged_logging.rb:99:in `tagged' railties (6.1.4.4) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/request_id.rb:26:in `call' rack (2.2.3) lib/rack/method_override.rb:24:in `call' rack (2.2.3) lib/rack/runtime.rb:22:in `call' activesupport (6.1.4.4) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/static.rb:24:in `call' rack (2.2.3) lib/rack/sendfile.rb:110:in `call' actionpack (6.1.4.4) lib/action_dispatch/middleware/host_authorization.rb:119:in `call' rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call' railties (6.1.4.4) lib/rails/engine.rb:539:in `call' puma (5.6.1) lib/puma/configuration.rb:252:in `call' puma (5.6.1) lib/puma/request.rb:77:in `block in handle_request' puma (5.6.1) lib/puma/thread_pool.rb:340:in `with_force_shutdown' puma (5.6.1) lib/puma/request.rb:76:in `handle_request' puma (5.6.1) lib/puma/server.rb:441:in `process_client' puma (5.6.1) lib/puma/thread_pool.rb:147:in `block in spawn_thread' Started GET “/products/5” for ::1 at 2022-01-30 15:21:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 12081)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 23472)
Completed 200 OK in 99ms (Views: 33.6ms | ActiveRecord: 27.4ms | Allocations: 49234)
Started GET “/products/5” for ::1 at 2022-01-30 15:21:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 11227)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 23588)
Completed 200 OK in 44ms (Views: 36.4ms | ActiveRecord: 2.6ms | Allocations: 26678)
Started GET “/products/5” for ::1 at 2022-01-30 15:21:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.0ms | Allocations: 11231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1200) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 38.2ms | Allocations: 23648)
Completed 200 OK in 48ms (Views: 39.6ms | ActiveRecord: 2.7ms | Allocations: 26733)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:23:02 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 20ms (ActiveRecord: 7.5ms | Allocations: 8830)
NoMethodError (undefined method `find' for nil:NilClass):
app/controllers/orders_controller.rb:9:in `create' Started PUT “/__web_console/repl_sessions/3d5ce95a0086792de4855d5c77a4e92c” for ::1 at 2022-01-30 15:23:04 -0500 Started PUT “/__web_console/repl_sessions/3d5ce95a0086792de4855d5c77a4e92c” for ::1 at 2022-01-30 15:23:04 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:23:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 12068)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.6ms | Allocations: 23459)
Completed 200 OK in 88ms (Views: 28.5ms | ActiveRecord: 25.4ms | Allocations: 49176)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:23:36 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.7ms | Allocations: 2437)
NoMethodError (undefined method `find' for nil:NilClass):
app/controllers/orders_controller.rb:9:in `create' Started PUT “/__web_console/repl_sessions/e89eca5f34896ece336a4bfba70a856b” for ::1 at 2022-01-30 15:23:39 -0500 Started PUT “/__web_console/repl_sessions/e89eca5f34896ece336a4bfba70a856b” for ::1 at 2022-01-30 15:23:40 -0500 Started PUT “/__web_console/repl_sessions/e89eca5f34896ece336a4bfba70a856b” for ::1 at 2022-01-30 15:23:45 -0500 Started PUT “/__web_console/repl_sessions/e89eca5f34896ece336a4bfba70a856b” for ::1 at 2022-01-30 15:23:52 -0500 Started PUT “/__web_console/repl_sessions/e89eca5f34896ece336a4bfba70a856b” for ::1 at 2022-01-30 15:24:04 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:24:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 12069)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.5ms | Allocations: 23461)
Completed 200 OK in 86ms (Views: 29.3ms | ActiveRecord: 23.9ms | Allocations: 49197)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:24:17 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.6ms | Allocations: 2862)
RuntimeError ():
app/controllers/orders_controller.rb:12:in `create' Started PUT “/__web_console/repl_sessions/66ac11582e93cdcfa5d7891852a507b4” for ::1 at 2022-01-30 15:24:18 -0500 Started PUT “/__web_console/repl_sessions/66ac11582e93cdcfa5d7891852a507b4” for ::1 at 2022-01-30 15:24:19 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:25:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 12068)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 23459)
Completed 200 OK in 95ms (Views: 33.1ms | ActiveRecord: 25.1ms | Allocations: 49195)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:25:59 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.1ms | Allocations: 4989)
NoMethodError (undefined method `user=' for #<Order:0x00007fb80feb8cb8>):
app/controllers/orders_controller.rb:12:in `create' Started PUT “/__web_console/repl_sessions/eddaba7aab36fe5bfae975d758ef0686” for ::1 at 2022-01-30 15:26:04 -0500 Started PUT “/__web_console/repl_sessions/eddaba7aab36fe5bfae975d758ef0686” for ::1 at 2022-01-30 15:26:04 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:30:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 25.6ms | Allocations: 12068)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 57.0ms | Allocations: 23459)
Completed 200 OK in 177ms (Views: 53.9ms | ActiveRecord: 71.3ms | Allocations: 49199)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:30:03 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.1ms | Allocations: 3380)
ActiveRecord::AssociationTypeMismatch (Cart(#271620) expected, got #<User id: 1, email: “admin@applaudo.com”, created_at: “2022-01-30 01:05:47.109474000 +0000”, updated_at: “2022-01-30 02:05:35.968421000 +0000”, first_name: “Admin”, last_name: “Applaudo Studios”, address: “Street Charleston 123”, phone: “123-456-7890”, admin: true> which is an instance of User(#268340)):
app/controllers/orders_controller.rb:12:in `create' Started PUT “/__web_console/repl_sessions/e28d7c7a6f10fac96c3dfaeb41d38b6e” for ::1 at 2022-01-30 15:30:08 -0500 Started PUT “/__web_console/repl_sessions/e28d7c7a6f10fac96c3dfaeb41d38b6e” for ::1 at 2022-01-30 15:30:08 -0500
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to RemoveCartIdFromOrders (20220130203317)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.8ms)[0m [1m[35mALTER TABLE "orders" DROP COLUMN "cart_id"[0m
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130203317"]]
[1m[36mTRANSACTION (2.1ms)[0m [1m[35mCOMMIT[0m
Migrating to AddUserIdToOrders (20220130203435)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[35mALTER TABLE "orders" ADD "user_id" bigint[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130203435"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
Migrating to DropCarts (20220130203643)
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.0ms)[0m [1m[35mDROP TABLE "carts"[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220130203643"]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/products/5” for ::1 at 2022-01-30 15:40:53 -0500
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Completed 500 Internal Server Error in 45ms (ActiveRecord: 3.9ms | Allocations: 21526)
NameError (uninitialized constant ProductsController::Cart):
app/controllers/products_controller.rb:15:in `show' Started GET “/products” for ::1 at 2022-01-30 15:42:03 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 17.7ms | Allocations: 7576)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 19025)
Completed 200 OK in 62ms (Views: 30.9ms | ActiveRecord: 17.1ms | Allocations: 29220)
Started GET “/products/5” for ::1 at 2022-01-30 15:42:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 56.2ms | Allocations: 11556)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 87.2ms | Allocations: 23066)
Completed 200 OK in 128ms (Views: 86.8ms | ActiveRecord: 14.1ms | Allocations: 33447)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:42:09 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Completed 500 Internal Server Error in 7ms (ActiveRecord: 2.0ms | Allocations: 3260)
RuntimeError ():
app/controllers/orders_controller.rb:13:in `create' Started PUT “/__web_console/repl_sessions/28f4e6cb2b0493c861e5b128bfac11f6” for ::1 at 2022-01-30 15:42:13 -0500 Started PUT “/__web_console/repl_sessions/28f4e6cb2b0493c861e5b128bfac11f6” for ::1 at 2022-01-30 15:42:13 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:43:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 12031)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 23422)
Completed 200 OK in 91ms (Views: 28.8ms | ActiveRecord: 21.9ms | Allocations: 45278)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:43:34 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 11.2ms | Allocations: 7427)
Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 7491)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.8ms | Allocations: 11931)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
54: <hr> 55: <div class='review-form'> 56: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 57: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 58: <%= f.input :title %> 59: <%= f.input :content, as: :text %> 60: <div class='text-right mt-5'>
app/views/products/show.html.erb:57 app/controllers/orders_controller.rb:16:in `create' Started GET “/products/5” for ::1 at 2022-01-30 15:44:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 10554)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 21932)
Completed 200 OK in 42ms (Views: 33.3ms | ActiveRecord: 2.7ms | Allocations: 24205)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:44:35 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 11.3ms | Allocations: 7335)
Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 7399)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 2.5ms | Allocations: 10589)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
54: <hr> 55: <div class='review-form'> 56: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 57: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 58: <%= f.input :title %> 59: <%= f.input :content, as: :text %> 60: <div class='text-right mt-5'>
app/views/products/show.html.erb:57 app/controllers/orders_controller.rb:16:in `create' Started POST “/products/5/orders” for ::1 at 2022-01-30 15:45:16 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 8013)
Rendered layout layouts/application.html.erb (Duration: 14.4ms | Allocations: 8077)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 3.5ms | Allocations: 12066)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
54: <hr> 55: <div class='review-form'> 56: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 57: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 58: <%= f.input :title %> 59: <%= f.input :content, as: :text %> 60: <div class='text-right mt-5'>
app/views/products/show.html.erb:57 app/controllers/orders_controller.rb:16:in `create' Started PUT “/__web_console/repl_sessions/2225307311330bb0d9e7c055e3b43754” for ::1 at 2022-01-30 15:45:19 -0500 Started PUT “/__web_console/repl_sessions/2225307311330bb0d9e7c055e3b43754” for ::1 at 2022-01-30 15:45:20 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:45:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 12041)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1200) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 24464)
Completed 200 OK in 80ms (Views: 31.7ms | ActiveRecord: 19.7ms | Allocations: 46681)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:45:56 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mOrder Create (4.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 5], ["created_at", "2022-01-30 20:45:56.759761"], ["updated_at", "2022-01-30 20:45:56.759761"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:13:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 8.1ms | Allocations: 5216)
Started GET “/orders” for ::1 at 2022-01-30 15:45:56 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 4050) Rendered layout layouts/application.html.erb (Duration: 6.4ms | Allocations: 4114)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.8ms | Allocations: 5999)
ActionView::Template::Error (undefined method `book' for #<Order:0x00007fb80b59d088>):
16: <% @orders.each_with_index do |order, index| %>
17: <tr>
18: <th scope="row"><%= index + 1 %></th>
19: <td><%= order.book.title %></td>
20: <td><%= order.book.author %></td>
21: <td> S/. <%= (order.end_date - order.start_date).to_i * order.book.price %> </td>
22: <td><%= order.start_date.strftime('%d-%m-%Y') %></td>
app/views/orders/index.html.erb:19 app/views/orders/index.html.erb:16:in `each_with_index' app/views/orders/index.html.erb:16 Started PUT “/__web_console/repl_sessions/2982f69dc2303a46fde55ebe03e4ea68” for ::1 at 2022-01-30 15:46:00 -0500 Started PUT “/__web_console/repl_sessions/2982f69dc2303a46fde55ebe03e4ea68” for ::1 at 2022-01-30 15:46:00 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:46:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 12041)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.7ms | Allocations: 23432)
Completed 200 OK in 82ms (Views: 30.5ms | ActiveRecord: 20.2ms | Allocations: 45308)
Started POST “/products/5/orders” for ::1 at 2022-01-30 15:46:09 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Completed 500 Internal Server Error in 9ms (ActiveRecord: 2.1ms | Allocations: 3283)
RuntimeError ():
app/controllers/orders_controller.rb:13:in `create' Started PUT “/__web_console/repl_sessions/1918b304d6eec7e8647c79df0f1523d1” for ::1 at 2022-01-30 15:46:13 -0500 Started PUT “/__web_console/repl_sessions/1918b304d6eec7e8647c79df0f1523d1” for ::1 at 2022-01-30 15:46:14 -0500 Started GET “/products/5” for ::1 at 2022-01-30 15:46:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 18.2ms | Allocations: 10544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 21922)
Completed 200 OK in 41ms (Views: 33.0ms | ActiveRecord: 2.9ms | Allocations: 24195)
Started GET “/orders” for ::1 at 2022-01-30 15:46:38 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 14.3ms | Allocations: 7052) Rendered layout layouts/application.html.erb (Duration: 14.5ms | Allocations: 7116)
Completed 500 Internal Server Error in 42ms (ActiveRecord: 13.1ms | Allocations: 16042)
ActionView::Template::Error (undefined method `book' for #<Order:0x00007fb80b79b7b8>):
16: <% @orders.each_with_index do |order, index| %>
17: <tr>
18: <th scope="row"><%= index + 1 %></th>
19: <td><%= order.book.title %></td>
20: <td><%= order.book.author %></td>
21: <td> S/. <%= (order.end_date - order.start_date).to_i * order.book.price %> </td>
22: <td><%= order.start_date.strftime('%d-%m-%Y') %></td>
app/views/orders/index.html.erb:19 app/views/orders/index.html.erb:16:in `each_with_index' app/views/orders/index.html.erb:16 Started GET “/orders” for ::1 at 2022-01-30 15:50:54 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 33.3ms | Allocations: 10365)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1235) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 49.9ms | Allocations: 22927)
Completed 200 OK in 57ms (Views: 45.1ms | ActiveRecord: 8.4ms | Allocations: 25395)
Started GET “/orders” for ::1 at 2022-01-30 15:51:03 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 4.6ms | Allocations: 1757)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 14352)
Completed 200 OK in 29ms (Views: 22.5ms | ActiveRecord: 2.5ms | Allocations: 16815)
Started GET “/orders” for ::1 at 2022-01-30 15:51:09 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 1756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 14351)
Completed 200 OK in 31ms (Views: 23.6ms | ActiveRecord: 3.3ms | Allocations: 16814)
Started GET “/orders” for ::1 at 2022-01-30 15:51:14 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 1756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 24.8ms | Allocations: 14351)
Completed 200 OK in 31ms (Views: 24.2ms | ActiveRecord: 3.1ms | Allocations: 16814)
Started GET “/orders” for ::1 at 2022-01-30 15:52:33 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 14351)
Completed 200 OK in 29ms (Views: 22.6ms | ActiveRecord: 2.8ms | Allocations: 16814)
Started GET “/orders” for ::1 at 2022-01-30 15:52:35 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (7.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 12.1ms | Allocations: 1543)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 812) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 13175)
Completed 200 OK in 33ms (Views: 19.5ms | ActiveRecord: 10.2ms | Allocations: 14846)
Started GET “/orders” for ::1 at 2022-01-30 15:52:55 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 1764)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.2ms | Allocations: 14361)
Completed 200 OK in 33ms (Views: 25.8ms | ActiveRecord: 3.0ms | Allocations: 16831)
Started GET “/orders” for ::1 at 2022-01-30 15:53:05 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1758)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1230) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 14413)
Completed 200 OK in 28ms (Views: 21.1ms | ActiveRecord: 2.5ms | Allocations: 16882)
Started GET “/orders” for ::1 at 2022-01-30 15:53:21 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 1756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.1ms | Allocations: 14351)
Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 2.9ms | Allocations: 16814)
Started GET “/orders” for ::1 at 2022-01-30 15:53:32 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 1757)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 14352)
Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 2.9ms | Allocations: 16815)
Started GET “/orders” for ::1 at 2022-01-30 15:53:57 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 1756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 14351)
Completed 200 OK in 28ms (Views: 21.4ms | ActiveRecord: 2.6ms | Allocations: 16814)
Started GET “/products” for ::1 at 2022-01-30 15:54:15 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.6ms | Allocations: 3607)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 14995)
Completed 200 OK in 37ms (Views: 29.2ms | ActiveRecord: 2.7ms | Allocations: 18100)
Started GET “/products/2” for ::1 at 2022-01-30 15:54:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 19.0ms | Allocations: 12330)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 24416)
Completed 200 OK in 57ms (Views: 35.1ms | ActiveRecord: 8.0ms | Allocations: 30628)
Started POST “/products/2/orders” for ::1 at 2022-01-30 15:54:19 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"3"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mOrder Create (2.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 3], ["product_id", 2], ["created_at", "2022-01-30 20:54:19.674210"], ["updated_at", "2022-01-30 20:54:19.674210"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:13:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 6.0ms | Allocations: 4833)
Started GET “/orders” for ::1 at 2022-01-30 15:54:19 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2387)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 13964)
Completed 200 OK in 26ms (Views: 19.5ms | ActiveRecord: 3.4ms | Allocations: 15634)
Started GET “/orders” for ::1 at 2022-01-30 15:59:26 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 2608)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1230) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 15262)
Completed 200 OK in 36ms (Views: 27.4ms | ActiveRecord: 3.9ms | Allocations: 17731)
Started GET “/orders” for ::1 at 2022-01-30 16:00:01 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.6ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 2607)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.5ms | Allocations: 15202)
Completed 200 OK in 39ms (Views: 30.2ms | ActiveRecord: 4.3ms | Allocations: 17665)
Started GET “/orders” for ::1 at 2022-01-30 16:00:17 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 11.0ms | Allocations: 2608)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 15203)
Completed 200 OK in 44ms (Views: 32.6ms | ActiveRecord: 4.9ms | Allocations: 17666)
Started GET “/orders” for ::1 at 2022-01-30 16:00:37 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 2387)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.6ms | Allocations: 13961)
Completed 200 OK in 31ms (Views: 23.0ms | ActiveRecord: 4.1ms | Allocations: 15631)
Started GET “/orders” for ::1 at 2022-01-30 16:00:41 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2612)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1231) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.0ms | Allocations: 15269)
Completed 200 OK in 31ms (Views: 24.1ms | ActiveRecord: 3.5ms | Allocations: 17739)
Started GET “/orders” for ::1 at 2022-01-30 16:00:49 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2610)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1230) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.2ms | Allocations: 15262)
Completed 200 OK in 32ms (Views: 24.3ms | ActiveRecord: 3.7ms | Allocations: 17726)
Started GET “/products” for ::1 at 2022-01-30 16:00:59 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.7ms | Allocations: 3833)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 15262)
Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 2.8ms | Allocations: 17531)
Started GET “/products/4” for ::1 at 2022-01-30 16:01:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 19.9ms | Allocations: 11216)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 23475)
Completed 200 OK in 45ms (Views: 38.5ms | ActiveRecord: 2.5ms | Allocations: 25878)
Started POST “/products/4/orders” for ::1 at 2022-01-30 16:01:01 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>""}, "commit"=>"Create Order", "product_id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 11.6ms | Allocations: 7355)
Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 7419)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 2.2ms | Allocations: 10683)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
54: <hr> 55: <div class='review-form'> 56: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 57: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 58: <%= f.input :title %> 59: <%= f.input :content, as: :text %> 60: <div class='text-right mt-5'>
app/views/products/show.html.erb:57 app/controllers/orders_controller.rb:16:in `create' Started GET “/products/4” for ::1 at 2022-01-30 16:01:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 10554)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 21933)
Completed 200 OK in 42ms (Views: 34.9ms | ActiveRecord: 2.3ms | Allocations: 24208)
Started POST “/products/4/orders” for ::1 at 2022-01-30 16:01:10 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"3"}, "commit"=>"Create Order", "product_id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 3], ["product_id", 4], ["created_at", "2022-01-30 21:01:10.349596"], ["updated_at", "2022-01-30 21:01:10.349596"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:13:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:13:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 4.4ms | Allocations: 4289)
Started GET “/orders” for ::1 at 2022-01-30 16:01:10 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 8.6ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 14802)
Completed 200 OK in 29ms (Views: 21.7ms | ActiveRecord: 4.1ms | Allocations: 16471)
Started GET “/orders” for ::1 at 2022-01-30 16:02:04 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3464)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 12.1ms | Allocations: 1234) Rendered shared/_flashes.html.erb (Duration: 1.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1582.1ms | Allocations: 97542)
Completed 200 OK in 1590ms (Views: 1580.9ms | ActiveRecord: 4.2ms | Allocations: 100012)
Started GET “/orders” for ::1 at 2022-01-30 16:02:30 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3462)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1229) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 16059)
Completed 200 OK in 40ms (Views: 29.9ms | ActiveRecord: 4.4ms | Allocations: 18528)
Started GET “/orders” for ::1 at 2022-01-30 16:02:49 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.8ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1225.6ms | Allocations: 96726)
Completed 200 OK in 1231ms (Views: 1222.2ms | ActiveRecord: 4.9ms | Allocations: 98396)
Started GET “/orders” for ::1 at 2022-01-30 16:02:59 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3465)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1230) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 16121)
Completed 200 OK in 37ms (Views: 28.3ms | ActiveRecord: 4.2ms | Allocations: 18591)
Started GET “/orders” for ::1 at 2022-01-30 16:03:54 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 3466)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1229) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1494.2ms | Allocations: 97545)
Completed 200 OK in 1503ms (Views: 1493.1ms | ActiveRecord: 4.8ms | Allocations: 100014)
Started GET “/orders” for ::1 at 2022-01-30 16:04:12 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 812) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1231.0ms | Allocations: 96261)
Completed 200 OK in 1236ms (Views: 1227.7ms | ActiveRecord: 4.6ms | Allocations: 97931)
Started GET “/orders” for ::1 at 2022-01-30 16:04:16 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.8ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 14792)
Completed 200 OK in 28ms (Views: 20.3ms | ActiveRecord: 4.9ms | Allocations: 16461)
Started GET “/orders” for ::1 at 2022-01-30 16:04:21 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1216.8ms | Allocations: 94875)
Completed 200 OK in 1221ms (Views: 1213.1ms | ActiveRecord: 5.0ms | Allocations: 96545)
Started GET “/orders” for ::1 at 2022-01-30 16:04:24 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 14792)
Completed 200 OK in 28ms (Views: 20.7ms | ActiveRecord: 4.2ms | Allocations: 16461)
Started GET “/orders” for ::1 at 2022-01-30 16:04:30 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 8.2ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 15332)
Completed 200 OK in 29ms (Views: 20.7ms | ActiveRecord: 4.6ms | Allocations: 17001)
Started GET “/orders” for ::1 at 2022-01-30 16:04:48 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1224.7ms | Allocations: 97203)
Completed 200 OK in 1230ms (Views: 1221.0ms | ActiveRecord: 5.1ms | Allocations: 98872)
Started GET “/orders” for ::1 at 2022-01-30 16:04:55 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 3231)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1231.8ms | Allocations: 96279)
Completed 200 OK in 1237ms (Views: 1228.4ms | ActiveRecord: 5.0ms | Allocations: 97949)
Started GET “/orders” for ::1 at 2022-01-30 16:05:44 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 15.8ms | Allocations: 3495)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1228) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 16092)
Completed 200 OK in 49ms (Views: 33.1ms | ActiveRecord: 7.3ms | Allocations: 18561)
Started GET “/orders” for ::1 at 2022-01-30 16:05:58 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 22ms (ActiveRecord: 6.7ms | Allocations: 8818)
RuntimeError ():
app/controllers/orders_controller.rb:6:in `index' Started PUT “/__web_console/repl_sessions/509aacd004ce53c6393a2bae70fec832” for ::1 at 2022-01-30 16:06:00 -0500 Started PUT “/__web_console/repl_sessions/509aacd004ce53c6393a2bae70fec832” for ::1 at 2022-01-30 16:06:08 -0500 Started PUT “/__web_console/repl_sessions/509aacd004ce53c6393a2bae70fec832” for ::1 at 2022-01-30 16:06:12 -0500 Started PUT “/__web_console/repl_sessions/509aacd004ce53c6393a2bae70fec832” for ::1 at 2022-01-30 16:06:14 -0500
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]]
Started GET “/orders” for ::1 at 2022-01-30 16:07:49 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 33.3ms | Allocations: 13232)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1236) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 50.8ms | Allocations: 25794)
Completed 200 OK in 76ms (Views: 39.9ms | ActiveRecord: 21.1ms | Allocations: 35240)
Started GET “/orders” for ::1 at 2022-01-30 16:08:05 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 3236)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 813) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1225.0ms | Allocations: 96356)
Completed 200 OK in 1231ms (Views: 1221.7ms | ActiveRecord: 5.0ms | Allocations: 98029)
Started GET “/orders” for ::1 at 2022-01-30 16:09:15 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1230) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 16722)
Completed 200 OK in 43ms (Views: 33.6ms | ActiveRecord: 4.5ms | Allocations: 19195)
Started GET “/orders” for ::1 at 2022-01-30 16:09:48 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.8ms | Allocations: 3236)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1486.6ms | Allocations: 95819)
Completed 200 OK in 1492ms (Views: 1483.3ms | ActiveRecord: 4.8ms | Allocations: 97491)
Started GET “/products” for ::1 at 2022-01-30 16:10:05 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 3573)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 15031)
Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 2.3ms | Allocations: 18157)
Started GET “/products/5” for ::1 at 2022-01-30 16:10:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 23.5ms | Allocations: 12299)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 23690)
Completed 200 OK in 68ms (Views: 42.4ms | ActiveRecord: 8.6ms | Allocations: 30604)
Started POST “/products/5/orders” for ::1 at 2022-01-30 16:10:09 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mOrder Create (1.3ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 5], ["created_at", "2022-01-30 21:10:09.413804"], ["updated_at", "2022-01-30 21:10:09.413804"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:14:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 4.9ms | Allocations: 4833)
Started GET “/orders” for ::1 at 2022-01-30 16:10:09 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3826)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.8ms | Allocations: 15402)
Completed 200 OK in 31ms (Views: 21.6ms | ActiveRecord: 5.4ms | Allocations: 17075)
Started GET “/products” for ::1 at 2022-01-30 16:10:21 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2650)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.3ms | Allocations: 14789)
Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 2.0ms | Allocations: 16501)
Started GET “/orders” for ::1 at 2022-01-30 16:10:22 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 16.9ms | Allocations: 4703)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 16265)
Completed 200 OK in 44ms (Views: 30.1ms | ActiveRecord: 8.0ms | Allocations: 17940)
Started GET “/products” for ::1 at 2022-01-30 16:12:45 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.1ms | Allocations: 2651)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 14128)
Completed 200 OK in 43ms (Views: 33.4ms | ActiveRecord: 4.1ms | Allocations: 15826)
Started GET “/orders” for ::1 at 2022-01-30 16:12:49 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (4.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 19.4ms | Allocations: 4618)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.3ms | Allocations: 16331)
Completed 200 OK in 45ms (Views: 29.6ms | ActiveRecord: 10.4ms | Allocations: 18007)
Started GET “/products” for ::1 at 2022-01-30 16:12:50 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 2650)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.4ms | Allocations: 14998)
Completed 200 OK in 38ms (Views: 31.4ms | ActiveRecord: 2.3ms | Allocations: 16696)
Started GET “/” for ::1 at 2022-01-30 16:12:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 127)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1925) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 12874)
Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.8ms | Allocations: 14676)
Started GET “/products” for ::1 at 2022-01-30 16:12:54 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.8ms | Allocations: 2660)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 14974)
Completed 200 OK in 36ms (Views: 29.3ms | ActiveRecord: 2.5ms | Allocations: 16672)
Started GET “/orders” for ::1 at 2022-01-30 16:12:55 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 16.2ms | Allocations: 4617)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 16282)
Completed 200 OK in 41ms (Views: 28.2ms | ActiveRecord: 7.8ms | Allocations: 17958)
Started GET “/products” for ::1 at 2022-01-30 16:12:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (8.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2651)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.1ms | Allocations: 15004)
Completed 200 OK in 44ms (Views: 30.9ms | ActiveRecord: 9.2ms | Allocations: 16702)
Started GET “/products/4” for ::1 at 2022-01-30 16:12:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 21.0ms | Allocations: 11427)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.7ms | Allocations: 22806)
Completed 200 OK in 44ms (Views: 35.4ms | ActiveRecord: 3.0ms | Allocations: 25084)
Started POST “/products/4/orders” for ::1 at 2022-01-30 16:13:00 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"3"}, "commit"=>"Create Order", "product_id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 3], ["product_id", 4], ["created_at", "2022-01-30 21:13:00.031294"], ["updated_at", "2022-01-30 21:13:00.031294"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:14:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 5.1ms | Allocations: 4312)
Started GET “/orders” for ::1 at 2022-01-30 16:13:00 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 4415)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.4ms | Allocations: 16029)
Completed 200 OK in 32ms (Views: 22.5ms | ActiveRecord: 4.7ms | Allocations: 17702)
Started GET “/orders” for ::1 at 2022-01-30 16:18:01 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 36.0ms | Allocations: 14808)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1229) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 60.5ms | Allocations: 27360)
Completed 200 OK in 87ms (Views: 49.2ms | ActiveRecord: 20.9ms | Allocations: 36845)
Started DELETE “/orders/1?order_id=1” for ::1 at 2022-01-30 16:18:06 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"1", "id"=>"1"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 1]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 17ms (ActiveRecord: 5.0ms | Allocations: 4344)
Started GET “/orders” for ::1 at 2022-01-30 16:18:06 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 4108)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.3ms | Allocations: 15728)
Completed 200 OK in 27ms (Views: 20.5ms | ActiveRecord: 3.9ms | Allocations: 17400)
Started DELETE “/orders/4?order_id=4” for ::1 at 2022-01-30 16:18:13 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"4", "id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 4]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.5ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 16:18:13 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:16:in `each_with_index' [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:19 Rendered orders/index.html.erb within layouts/application (Duration: 10.4ms | Allocations: 3191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 14798)
Completed 200 OK in 29ms (Views: 22.2ms | ActiveRecord: 4.1ms | Allocations: 16470)
Started GET “/orders” for ::1 at 2022-01-30 16:19:05 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 3511)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1221) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.5ms | Allocations: 16149)
Completed 200 OK in 37ms (Views: 27.7ms | ActiveRecord: 3.9ms | Allocations: 18621)
Started GET “/orders” for ::1 at 2022-01-30 16:19:23 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.9ms | Allocations: 3515)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1220) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 16101)
Completed 200 OK in 36ms (Views: 27.6ms | ActiveRecord: 4.2ms | Allocations: 18566)
Started DELETE “/orders/3?order_id=3” for ::1 at 2022-01-30 16:19:25 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"3", "id"=>"3"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 3]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 4.2ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 16:19:25 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 2539)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.3ms | Allocations: 14158)
Completed 200 OK in 24ms (Views: 18.2ms | ActiveRecord: 3.0ms | Allocations: 15832)
Started DELETE “/orders/2?order_id=2” for ::1 at 2022-01-30 16:19:29 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"2", "id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 2]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.4ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 16:19:29 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 3.6ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 13233)
Completed 200 OK in 23ms (Views: 17.7ms | ActiveRecord: 2.2ms | Allocations: 14904)
Started DELETE “/orders/5?order_id=5” for ::1 at 2022-01-30 16:19:33 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"5", "id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 5]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.1ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 16:19:33 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.0ms | Allocations: 705)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.5ms | Allocations: 12322)
Completed 200 OK in 22ms (Views: 16.9ms | ActiveRecord: 2.1ms | Allocations: 13994)
Started GET “/products” for ::1 at 2022-01-30 16:19:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.3ms | Allocations: 4255)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 15812)
Completed 200 OK in 32ms (Views: 25.4ms | ActiveRecord: 2.6ms | Allocations: 18161)
Started GET “/products/4” for ::1 at 2022-01-30 16:19:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 19.3ms | Allocations: 12165)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.6ms | Allocations: 23552)
Completed 200 OK in 63ms (Views: 40.3ms | ActiveRecord: 9.2ms | Allocations: 30597)
Started POST “/products/4/orders” for ::1 at 2022-01-30 16:19:41 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mOrder Create (1.3ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 4], ["created_at", "2022-01-30 21:19:41.162086"], ["updated_at", "2022-01-30 21:19:41.162086"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:14:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 4.9ms | Allocations: 4832)
Started GET “/orders” for ::1 at 2022-01-30 16:19:41 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 1627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 19.8ms | Allocations: 13248)
Completed 200 OK in 24ms (Views: 18.6ms | ActiveRecord: 2.3ms | Allocations: 14922)
Started GET “/orders” for ::1 at 2022-01-30 16:19:43 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.8ms | Allocations: 13232)
Completed 200 OK in 28ms (Views: 20.6ms | ActiveRecord: 3.6ms | Allocations: 14906)
Started GET “/products” for ::1 at 2022-01-30 16:19:45 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 3374)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 14991)
Completed 200 OK in 33ms (Views: 26.1ms | ActiveRecord: 2.3ms | Allocations: 16690)
Started GET “/products/2” for ::1 at 2022-01-30 16:19:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 16.8ms | Allocations: 10543)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 22779)
Completed 200 OK in 42ms (Views: 35.1ms | ActiveRecord: 2.6ms | Allocations: 25057)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:19:48 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"5"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 5], ["product_id", 2], ["created_at", "2022-01-30 21:19:48.024171"], ["updated_at", "2022-01-30 21:19:48.024171"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:14:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 5.0ms | Allocations: 4312)
Started GET “/orders” for ::1 at 2022-01-30 16:19:48 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 2535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.0ms | Allocations: 14128)
Completed 200 OK in 33ms (Views: 26.6ms | ActiveRecord: 3.5ms | Allocations: 15801)
Started GET “/orders” for ::1 at 2022-01-30 16:20:24 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.3ms | Allocations: 2535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1490.7ms | Allocations: 95666)
Completed 200 OK in 1496ms (Views: 1487.6ms | ActiveRecord: 4.5ms | Allocations: 97337)
Started GET “/orders” for ::1 at 2022-01-30 16:28:54 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.7ms | Allocations: 2954)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1222) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 15600)
Completed 200 OK in 76ms (Views: 36.7ms | ActiveRecord: 20.0ms | Allocations: 21369)
Started DELETE “/orders/6?order_id=6” for ::1 at 2022-01-30 16:28:57 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"6", "id"=>"6"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (1.1ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 6]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 5.1ms | Allocations: 4246)
Started GET “/orders” for ::1 at 2022-01-30 16:28:57 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 1627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 799) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 13245)
Completed 200 OK in 24ms (Views: 18.7ms | ActiveRecord: 2.8ms | Allocations: 14917)
Started DELETE “/orders/7?order_id=7” for ::1 at 2022-01-30 16:28:59 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"7", "id"=>"7"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:30:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mOrder Destroy (1.1ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 7]]
↳ app/controllers/orders_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.5ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 16:28:59 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 702)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 16.6ms | Allocations: 12264)
Completed 200 OK in 21ms (Views: 16.2ms | ActiveRecord: 1.7ms | Allocations: 13935)
Started GET “/products” for ::1 at 2022-01-30 16:29:09 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.4ms | Allocations: 3820)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.2ms | Allocations: 15251)
Completed 200 OK in 37ms (Views: 29.5ms | ActiveRecord: 2.8ms | Allocations: 17521)
Started GET “/products/2” for ::1 at 2022-01-30 16:29:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 11250)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 47.0ms | Allocations: 23499)
Completed 200 OK in 55ms (Views: 46.2ms | ActiveRecord: 3.0ms | Allocations: 25903)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:29:12 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mOrder Create (1.6ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:29:12.176980"], ["updated_at", "2022-01-30 21:29:12.176980"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:14:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 5.0ms | Allocations: 4313)
Started GET “/orders” for ::1 at 2022-01-30 16:29:12 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 1627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 13248)
Completed 200 OK in 26ms (Views: 18.9ms | ActiveRecord: 3.6ms | Allocations: 14922)
Started GET “/products” for ::1 at 2022-01-30 16:29:18 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.0ms | Allocations: 2652)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 15023)
Completed 200 OK in 29ms (Views: 23.6ms | ActiveRecord: 2.0ms | Allocations: 16721)
Started GET “/orders” for ::1 at 2022-01-30 16:29:52 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.3ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.6ms | Allocations: 14056)
Completed 200 OK in 46ms (Views: 36.4ms | ActiveRecord: 4.9ms | Allocations: 15730)
Started GET “/products” for ::1 at 2022-01-30 16:30:05 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.1ms | Allocations: 2648)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.7ms | Allocations: 14943)
Completed 200 OK in 41ms (Views: 34.9ms | ActiveRecord: 2.4ms | Allocations: 16640)
Started DELETE “/products/4” for ::1 at 2022-01-30 16:30:08 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"4"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:44:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mProduct Destroy (1.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:45:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 20ms (ActiveRecord: 6.7ms | Allocations: 6801)
Started GET “/products” for ::1 at 2022-01-30 16:30:08 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 3.8ms | Allocations: 2121)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 13543)
Completed 200 OK in 23ms (Views: 18.0ms | ActiveRecord: 1.8ms | Allocations: 15237)
Started GET “/products/2” for ::1 at 2022-01-30 16:30:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 19.7ms | Allocations: 10554)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 22812)
Completed 200 OK in 46ms (Views: 39.5ms | ActiveRecord: 2.5ms | Allocations: 25090)
Started POST “/products/2/reviews” for ::1 at 2022-01-30 16:30:25 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"excellent", "content"=>"Some customs"}, "commit"=>"Create Review", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "excellent"], ["content", "Some customs"], ["product_id", 2], ["user_id", 1], ["created_at", "2022-01-30 21:30:25.556869"], ["updated_at", "2022-01-30 21:30:25.556869"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/2 Completed 200 OK in 13ms (ActiveRecord: 4.7ms | Allocations: 5252)
Started GET “/products/2” for ::1 at 2022-01-30 16:30:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 26.0ms | Allocations: 12396)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 23861)
Completed 200 OK in 51ms (Views: 40.7ms | ActiveRecord: 5.5ms | Allocations: 27063)
Started DELETE “/reviews/32?product_id=2” for ::1 at 2022-01-30 16:30:33 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2", "id"=>"32"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 32]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/2 Completed 302 Found in 12ms (ActiveRecord: 4.1ms | Allocations: 3964)
Started GET “/products/2” for ::1 at 2022-01-30 16:30:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 10528)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.5ms | Allocations: 21849)
Completed 200 OK in 36ms (Views: 29.9ms | ActiveRecord: 2.4ms | Allocations: 24123)
Started POST “/products/2/reviews” for ::1 at 2022-01-30 16:30:55 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Great product!", "content"=>"I think this is amazing"}, "commit"=>"Create Review", "product_id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Great product!"], ["content", "I think this is amazing"], ["product_id", 2], ["user_id", 1], ["created_at", "2022-01-30 21:30:55.160292"], ["updated_at", "2022-01-30 21:30:55.160292"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/2 Completed 200 OK in 15ms (ActiveRecord: 5.2ms | Allocations: 4361)
Started GET “/products/2” for ::1 at 2022-01-30 16:30:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 39.3ms | Allocations: 14091)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 56.5ms | Allocations: 25486)
Completed 200 OK in 66ms (Views: 53.0ms | ActiveRecord: 6.0ms | Allocations: 27806)
Started DELETE “/reviews/33?product_id=2” for ::1 at 2022-01-30 16:31:14 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2", "id"=>"33"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 33]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/2 Completed 302 Found in 13ms (ActiveRecord: 4.6ms | Allocations: 3863)
Started GET “/products/2” for ::1 at 2022-01-30 16:31:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:28
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 10532)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 21910)
Completed 200 OK in 37ms (Views: 30.0ms | ActiveRecord: 2.7ms | Allocations: 24185)
Started GET “/products/2” for ::1 at 2022-01-30 16:34:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 16.7ms | Allocations: 11208)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1202) Rendered shared/_flashes.html.erb (Duration: 1.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1485.2ms | Allocations: 104619)
Completed 200 OK in 1496ms (Views: 1487.3ms | ActiveRecord: 2.7ms | Allocations: 107693)
Started GET “/products/2” for ::1 at 2022-01-30 16:34:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 32.5ms | Allocations: 10569)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1320.6ms | Allocations: 104322)
Completed 200 OK in 1330ms (Views: 1320.1ms | ActiveRecord: 3.2ms | Allocations: 106598)
Started GET “/products/2” for ::1 at 2022-01-30 16:34:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 10563)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1168.5ms | Allocations: 102911)
Completed 200 OK in 1176ms (Views: 1168.2ms | ActiveRecord: 2.5ms | Allocations: 105185)
Started GET “/products/2” for ::1 at 2022-01-30 16:34:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 10543)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.0ms | Allocations: 21864)
Completed 200 OK in 38ms (Views: 30.7ms | ActiveRecord: 2.3ms | Allocations: 24139)
Started GET “/products/2” for ::1 at 2022-01-30 16:34:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 15.0ms | Allocations: 10527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1431.6ms | Allocations: 102836)
Completed 200 OK in 1439ms (Views: 1431.3ms | ActiveRecord: 2.6ms | Allocations: 105111)
Started GET “/products/2” for ::1 at 2022-01-30 16:35:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:31
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 10544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1166.0ms | Allocations: 103366)
Completed 200 OK in 1173ms (Views: 1165.5ms | ActiveRecord: 2.5ms | Allocations: 105640)
Started GET “/products/2” for ::1 at 2022-01-30 16:35:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 17.1ms | Allocations: 11210)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1194) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 23607)
Completed 200 OK in 50ms (Views: 42.1ms | ActiveRecord: 2.5ms | Allocations: 26681)
Started GET “/products/2” for ::1 at 2022-01-30 16:35:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 17.5ms | Allocations: 11219)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1196) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 23634)
Completed 200 OK in 43ms (Views: 35.6ms | ActiveRecord: 2.2ms | Allocations: 26709)
Started GET “/products/2” for ::1 at 2022-01-30 16:36:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 10548)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1199.7ms | Allocations: 104304)
Completed 200 OK in 1207ms (Views: 1199.2ms | ActiveRecord: 2.9ms | Allocations: 106579)
Started GET “/products/2” for ::1 at 2022-01-30 16:36:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 23.9ms | Allocations: 10538)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 21918)
Completed 200 OK in 46ms (Views: 38.8ms | ActiveRecord: 2.4ms | Allocations: 24193)
Started GET “/products/2” for ::1 at 2022-01-30 16:37:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.8ms | Allocations: 10541)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1182.8ms | Allocations: 103874)
Completed 200 OK in 1191ms (Views: 1182.6ms | ActiveRecord: 2.7ms | Allocations: 106149)
Started GET “/products/2” for ::1 at 2022-01-30 16:37:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 10533)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 21911)
Completed 200 OK in 46ms (Views: 38.4ms | ActiveRecord: 2.4ms | Allocations: 24186)
Started GET “/products/2” for ::1 at 2022-01-30 16:37:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.1ms | Allocations: 10550)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1191.7ms | Allocations: 102957)
Completed 200 OK in 1198ms (Views: 1191.2ms | ActiveRecord: 2.3ms | Allocations: 105232)
Started GET “/products/2” for ::1 at 2022-01-30 16:38:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 10531)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1185.2ms | Allocations: 103812)
Completed 200 OK in 1193ms (Views: 1184.9ms | ActiveRecord: 2.5ms | Allocations: 106086)
Started GET “/products/2” for ::1 at 2022-01-30 16:38:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 10553)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1199.7ms | Allocations: 103355)
Completed 200 OK in 1208ms (Views: 1199.5ms | ActiveRecord: 2.5ms | Allocations: 105629)
Started GET “/products/2” for ::1 at 2022-01-30 16:38:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 10543)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1198.2ms | Allocations: 103819)
Completed 200 OK in 1207ms (Views: 1198.0ms | ActiveRecord: 2.7ms | Allocations: 106093)
Started GET “/products/2” for ::1 at 2022-01-30 16:38:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 20.8ms | Allocations: 10544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1228.9ms | Allocations: 103824)
Completed 200 OK in 1236ms (Views: 1228.6ms | ActiveRecord: 2.4ms | Allocations: 106098)
Started GET “/products/2” for ::1 at 2022-01-30 16:38:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 23.6ms | Allocations: 10533)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1230.7ms | Allocations: 103368)
Completed 200 OK in 1239ms (Views: 1230.5ms | ActiveRecord: 3.5ms | Allocations: 105642)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:40:23 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 2], ["created_at", "2022-01-30 21:40:24.100954"], ["updated_at", "2022-01-30 21:40:24.100954"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 68ms (ActiveRecord: 24.4ms | Allocations: 21301)
Started GET “/orders” for ::1 at 2022-01-30 16:40:24 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.8ms | Allocations: 2815)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 1255.5ms | Allocations: 95942)
Completed 200 OK in 1264ms (Views: 1256.6ms | ActiveRecord: 2.8ms | Allocations: 98198)
Started GET “/products” for ::1 at 2022-01-30 16:40:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 2962)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 772) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.4ms | Allocations: 15227)
Completed 200 OK in 34ms (Views: 28.1ms | ActiveRecord: 1.8ms | Allocations: 17235)
Started GET “/products/2” for ::1 at 2022-01-30 16:40:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 27.5ms | Allocations: 11521)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 22901)
Completed 200 OK in 68ms (Views: 43.2ms | ActiveRecord: 9.1ms | Allocations: 29726)
Started GET “/products/2” for ::1 at 2022-01-30 16:40:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 10536)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 21953)
Completed 200 OK in 48ms (Views: 40.7ms | ActiveRecord: 2.8ms | Allocations: 24227)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:41:10 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
Completed 500 Internal Server Error in 47ms (ActiveRecord: 18.0ms | Allocations: 19018)
RuntimeError ():
app/controllers/orders_controller.rb:15:in `create' Started PUT “/__web_console/repl_sessions/e8174807a7605023241bf063b21ccc23” for ::1 at 2022-01-30 16:41:14 -0500 Started PUT “/__web_console/repl_sessions/e8174807a7605023241bf063b21ccc23” for ::1 at 2022-01-30 16:41:15 -0500 Started PUT “/__web_console/repl_sessions/e8174807a7605023241bf063b21ccc23” for ::1 at 2022-01-30 16:41:19 -0500 Started PUT “/__web_console/repl_sessions/e8174807a7605023241bf063b21ccc23” for ::1 at 2022-01-30 16:41:20 -0500 Started GET “/products/2” for ::1 at 2022-01-30 16:42:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 12031)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 23422)
Completed 200 OK in 79ms (Views: 28.9ms | ActiveRecord: 20.4ms | Allocations: 45277)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:42:34 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mOrder Create (1.5ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:42:34.268305"], ["updated_at", "2022-01-30 21:42:34.268305"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123456"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 4384)
Rendered layout layouts/application.html.erb (Duration: 12.1ms | Allocations: 4448)
Completed 500 Internal Server Error in 34ms (ActiveRecord: 7.2ms | Allocations: 12868)
ActionView::Template::Error (undefined method `product_order_path' for #<ActionView::Base:0x000000000a0500> Did you mean? product_orders_path
product_orders_url): 18: </div> 19: <hr> 20: <div class='order-buy-form'> 21: <%= simple_form_for([ @product, @order ]) do |f| %> 22: <%= f.input :quantity %> 23: <div class='text-right mt-5'> 24: <%= f.button :submit, class: 'btn btn-outline-primary btn-buy' %>
app/views/products/show.html.erb:21 app/controllers/orders_controller.rb:18:in `create' Started GET “/products/2” for ::1 at 2022-01-30 16:43:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 12031)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 23423)
Completed 200 OK in 85ms (Views: 34.2ms | ActiveRecord: 21.5ms | Allocations: 45279)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:43:38 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123456"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:43:38.267070"], ["updated_at", "2022-01-30 21:43:38.267070"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 21ms (ActiveRecord: 7.6ms | Allocations: 8197)
Started GET “/orders” for ::1 at 2022-01-30 16:43:38 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.5ms | Allocations: 3772)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 15335)
Completed 200 OK in 28ms (Views: 22.6ms | ActiveRecord: 2.6ms | Allocations: 17127)
Started GET “/products” for ::1 at 2022-01-30 16:43:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.5ms | Allocations: 2885)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.3ms | Allocations: 14425)
Completed 200 OK in 29ms (Views: 22.6ms | ActiveRecord: 2.2ms | Allocations: 16122)
Started GET “/products/2” for ::1 at 2022-01-30 16:43:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 10542)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.9ms | Allocations: 22729)
Completed 200 OK in 41ms (Views: 33.4ms | ActiveRecord: 2.7ms | Allocations: 25006)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:43:50 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123456"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Completed 500 Internal Server Error in 57ms (ActiveRecord: 19.3ms | Allocations: 22048)
RuntimeError ():
app/controllers/orders_controller.rb:16:in `create' Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:08 -0500 Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:10 -0500 Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:16 -0500 Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:17 -0500 Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:25 -0500 Started PUT “/__web_console/repl_sessions/4021dc571d05345b04b6534cb19bb496” for ::1 at 2022-01-30 16:44:26 -0500
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "123456"], ["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:16:in `create'
Started GET “/products/2” for ::1 at 2022-01-30 16:44:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.5ms | Allocations: 12023)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 777) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 29.7ms | Allocations: 23413)
Completed 200 OK in 46ms (Views: 29.7ms | ActiveRecord: 6.9ms | Allocations: 29560)
Started GET “/products/2/edit” for ::1 at 2022-01-30 16:44:40 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.2ms | Allocations: 12343)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 797) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.4ms | Allocations: 23797)
Completed 200 OK in 43ms (Views: 34.8ms | ActiveRecord: 1.9ms | Allocations: 26536)
Started PATCH “/products/2” for ::1 at 2022-01-30 16:44:47 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-AWE", "name"=>"Second product", "description"=>"Some description", "price"=>"15.0", "stock"=>"4"}, "commit"=>"Update product", "id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "sku" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["sku", "1234-AWE"], ["updated_at", "2022-01-30 21:44:47.718649"], ["id", 2]]
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:36:in `update'
Redirected to localhost:3000/products/2 Completed 302 Found in 16ms (ActiveRecord: 5.8ms | Allocations: 5908)
Started GET “/products/2” for ::1 at 2022-01-30 16:44:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 10534)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 21855)
Completed 200 OK in 36ms (Views: 30.0ms | ActiveRecord: 2.2ms | Allocations: 24131)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:44:50 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 2], ["updated_at", "2022-01-30 21:44:50.234458"], ["id", 2]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Completed 500 Internal Server Error in 16ms (ActiveRecord: 6.1ms | Allocations: 5689)
RuntimeError ():
app/controllers/orders_controller.rb:16:in `create' Started PUT “/__web_console/repl_sessions/014a3bbad62c84dc01bafc523453a081” for ::1 at 2022-01-30 16:44:53 -0500 Started PUT “/__web_console/repl_sessions/014a3bbad62c84dc01bafc523453a081” for ::1 at 2022-01-30 16:44:53 -0500 Started PUT “/__web_console/repl_sessions/014a3bbad62c84dc01bafc523453a081” for ::1 at 2022-01-30 16:44:55 -0500 Started PUT “/__web_console/repl_sessions/014a3bbad62c84dc01bafc523453a081” for ::1 at 2022-01-30 16:44:56 -0500
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:16:in `create'
Started GET “/products/2” for ::1 at 2022-01-30 16:45:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.4ms | Allocations: 12031)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 778) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 23422)
Completed 200 OK in 82ms (Views: 30.1ms | ActiveRecord: 20.5ms | Allocations: 45279)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:45:18 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mOrder Create (1.3ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:45:18.097541"], ["updated_at", "2022-01-30 21:45:18.097541"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.6ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 0], ["updated_at", "2022-01-30 21:45:18.107839"], ["id", 2]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 24ms (ActiveRecord: 9.0ms | Allocations: 8628)
Started GET “/orders” for ::1 at 2022-01-30 16:45:18 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.7ms | Allocations: 4428)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.9ms | Allocations: 15991)
Completed 200 OK in 30ms (Views: 24.6ms | ActiveRecord: 2.6ms | Allocations: 17783)
Started GET “/products” for ::1 at 2022-01-30 16:45:19 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2125)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 8.4ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 14419)
Completed 200 OK in 38ms (Views: 33.0ms | ActiveRecord: 1.8ms | Allocations: 16117)
Started GET “/products/2” for ::1 at 2022-01-30 16:45:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 19.6ms | Allocations: 11332)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 22746)
Completed 200 OK in 44ms (Views: 34.8ms | ActiveRecord: 3.2ms | Allocations: 25024)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:45:24 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mOrder Create (1.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:45:24.476198"], ["updated_at", "2022-01-30 21:45:24.476198"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 4384)
Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 4448)
Completed 500 Internal Server Error in 31ms (ActiveRecord: 7.3ms | Allocations: 11724)
ActionView::Template::Error (undefined method `product_order_path' for #<ActionView::Base:0x000000000a6130> Did you mean? product_orders_path
product_orders_url): 18: </div> 19: <hr> 20: <div class='order-buy-form'> 21: <%= simple_form_for([ @product, @order ]) do |f| %> 22: <%= f.input :quantity %> 23: <div class='text-right mt-5'> 24: <%= f.button :submit, class: 'btn btn-outline-primary btn-buy' %>
app/views/products/show.html.erb:21 app/controllers/orders_controller.rb:18:in `create' Started GET “/products/2” for ::1 at 2022-01-30 16:46:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 10565)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 21943)
Completed 200 OK in 42ms (Views: 33.9ms | ActiveRecord: 2.8ms | Allocations: 24216)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:46:32 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 2], ["created_at", "2022-01-30 21:46:32.263840"], ["updated_at", "2022-01-30 21:46:32.263840"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 4378)
Rendered layout layouts/application.html.erb (Duration: 12.0ms | Allocations: 4445)
Completed 500 Internal Server Error in 32ms (ActiveRecord: 7.2ms | Allocations: 11697)
ActionView::Template::Error (undefined method `product_order_path' for #<ActionView::Base:0x000000000a6d10> Did you mean? product_orders_path
product_orders_url): 18: </div> 19: <hr> 20: <div class='order-buy-form'> 21: <%= simple_form_for([ @product, @order ]) do |f| %> 22: <%= f.input :quantity %> 23: <div class='text-right mt-5'> 24: <%= f.button :submit, class: 'btn btn-outline-primary btn-buy' %>
app/views/products/show.html.erb:21 app/controllers/orders_controller.rb:18:in `create' Started GET “/products/2” for ::1 at 2022-01-30 16:46:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 10555)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 21933)
Completed 200 OK in 35ms (Views: 28.8ms | ActiveRecord: 2.2ms | Allocations: 24206)
Started GET “/products/2” for ::1 at 2022-01-30 16:46:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.5ms | Allocations: 12006)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 23397)
Completed 200 OK in 87ms (Views: 35.3ms | ActiveRecord: 20.4ms | Allocations: 45275)
Started POST “/products/2/orders” for ::1 at 2022-01-30 16:47:00 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 2], ["created_at", "2022-01-30 21:47:00.951890"], ["updated_at", "2022-01-30 21:47:00.951890"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 20ms (ActiveRecord: 7.0ms | Allocations: 8197)
Started GET “/orders” for ::1 at 2022-01-30 16:47:00 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.2ms | Allocations: 6396)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 17959)
Completed 200 OK in 33ms (Views: 26.9ms | ActiveRecord: 2.7ms | Allocations: 19750)
Started GET “/products” for ::1 at 2022-01-30 16:47:02 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 2898)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 14422)
Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 2.4ms | Allocations: 16120)
Started GET “/products/2” for ::1 at 2022-01-30 16:47:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 10554)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 22802)
Completed 200 OK in 42ms (Views: 34.7ms | ActiveRecord: 2.8ms | Allocations: 25079)
Started POST “/products/2/orders” for ::1 at 2022-01-30 17:14:14 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Create Order", "product_id"=>"2"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.6ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 2], ["created_at", "2022-01-30 22:14:14.310542"], ["updated_at", "2022-01-30 22:14:14.310542"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 47ms (ActiveRecord: 26.8ms | Allocations: 10520)
Started GET “/orders” for ::1 at 2022-01-30 17:14:14 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 14.2ms | Allocations: 6872)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 18424)
Completed 200 OK in 41ms (Views: 35.9ms | ActiveRecord: 2.8ms | Allocations: 20095)
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
Started DELETE “/orders/8?order_id=8” for ::1 at 2022-01-30 17:14:55 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"8", "id"=>"8"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.6ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 8]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 16ms (ActiveRecord: 5.8ms | Allocations: 4343)
Started GET “/orders” for ::1 at 2022-01-30 17:14:56 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 14.7ms | Allocations: 6216)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 17825)
Completed 200 OK in 42ms (Views: 34.0ms | ActiveRecord: 4.1ms | Allocations: 19498)
Started DELETE “/orders/9?order_id=9” for ::1 at 2022-01-30 17:14:58 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"9", "id"=>"9"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 9]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.6ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:14:58 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 11.4ms | Allocations: 5560)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 17112)
Completed 200 OK in 30ms (Views: 25.6ms | ActiveRecord: 2.5ms | Allocations: 18784)
Started DELETE “/orders/10?order_id=10” for ::1 at 2022-01-30 17:15:00 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"10", "id"=>"10"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.2ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 10]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 5.3ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:15:00 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.4ms | Allocations: 4904)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 16456)
Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 3.3ms | Allocations: 18127)
Started DELETE “/orders/11?order_id=11” for ::1 at 2022-01-30 17:15:02 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"11", "id"=>"11"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 11]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.6ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:15:02 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.6ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 4248)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.8ms | Allocations: 15855)
Completed 200 OK in 30ms (Views: 23.7ms | ActiveRecord: 3.4ms | Allocations: 17526)
Started GET “/products” for ::1 at 2022-01-30 17:15:03 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2121)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 14421)
Completed 200 OK in 30ms (Views: 24.6ms | ActiveRecord: 2.1ms | Allocations: 16118)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 22.5ms | Allocations: 11426)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 22805)
Completed 200 OK in 46ms (Views: 36.3ms | ActiveRecord: 4.7ms | Allocations: 25083)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:15:09 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 5], ["created_at", "2022-01-30 22:15:09.433419"], ["updated_at", "2022-01-30 22:15:09.433419"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 20ms (ActiveRecord: 7.4ms | Allocations: 7188)
Started GET “/orders” for ::1 at 2022-01-30 17:15:09 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 11.7ms | Allocations: 5160)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 16712)
Completed 200 OK in 31ms (Views: 24.8ms | ActiveRecord: 3.7ms | Allocations: 18384)
Started GET “/products” for ::1 at 2022-01-30 17:15:11 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2121)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 14413)
Completed 200 OK in 29ms (Views: 22.8ms | ActiveRecord: 2.3ms | Allocations: 16111)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 13.6ms | Allocations: 10527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 21849)
Completed 200 OK in 35ms (Views: 27.8ms | ActiveRecord: 2.6ms | Allocations: 24123)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:15:16 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 5], ["created_at", "2022-01-30 22:15:16.598060"], ["updated_at", "2022-01-30 22:15:16.598060"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 7.0ms | Allocations: 7165)
Started GET “/orders” for ::1 at 2022-01-30 17:15:16 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.9ms | Allocations: 5816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 17424)
Completed 200 OK in 37ms (Views: 31.2ms | ActiveRecord: 3.8ms | Allocations: 19096)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 12.8ms | Allocations: 10554)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 21933)
Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 2.5ms | Allocations: 24208)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 10527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.3ms | Allocations: 21849)
Completed 200 OK in 36ms (Views: 27.6ms | ActiveRecord: 3.0ms | Allocations: 24123)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 10527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 21848)
Completed 200 OK in 36ms (Views: 27.7ms | ActiveRecord: 2.9ms | Allocations: 24123)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 10527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 21848)
Completed 200 OK in 34ms (Views: 27.5ms | ActiveRecord: 2.3ms | Allocations: 24122)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:15:24 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "12335"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 5], ["created_at", "2022-01-30 22:15:24.991429"], ["updated_at", "2022-01-30 22:15:24.991429"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 19ms (ActiveRecord: 7.4ms | Allocations: 7165)
Started GET “/orders” for ::1 at 2022-01-30 17:15:25 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.3ms | Allocations: 6472)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.6ms | Allocations: 18082)
Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 3.3ms | Allocations: 19755)
Started GET “/products” for ::1 at 2022-01-30 17:15:26 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 2122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 780) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.4ms | Allocations: 14390)
Completed 200 OK in 29ms (Views: 23.7ms | ActiveRecord: 2.0ms | Allocations: 16088)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 16.6ms | Allocations: 11286)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 767) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 22749)
Completed 200 OK in 41ms (Views: 31.1ms | ActiveRecord: 3.9ms | Allocations: 25026)
Started GET “/products/5/edit” for ::1 at 2022-01-30 17:15:35 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.8ms | Allocations: 12087)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.3ms | Allocations: 24399)
Completed 200 OK in 45ms (Views: 37.8ms | ActiveRecord: 1.7ms | Allocations: 27014)
Started PATCH “/products/5” for ::1 at 2022-01-30 17:15:45 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"Productos", "description"=>"Descripciones1", "price"=>"2.0", "stock"=>"982"}, "commit"=>"Update product", "id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:36:in `update'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 14.2ms | Allocations: 12594)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 24025)
Completed 200 OK in 45ms (Views: 33.4ms | ActiveRecord: 3.8ms | Allocations: 29963)
Started PATCH “/products/5” for ::1 at 2022-01-30 17:15:50 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"Productos", "description"=>"Descripciones1", "price"=>"2.0", "stock"=>"50"}, "commit"=>"Update product", "id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mProduct Exists? (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mProduct Update (1.4ms)[0m [1m[33mUPDATE "products" SET "sku" = $1, "stock" = $2, "updated_at" = $3 WHERE "products"."id" = $4[0m [["sku", "1234-ABC"], ["stock", 50], ["updated_at", "2022-01-30 22:15:50.371568"], ["id", 5]]
↳ app/controllers/products_controller.rb:36:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:36:in `update'
Redirected to localhost:3000/products/5 Completed 302 Found in 16ms (ActiveRecord: 6.4ms | Allocations: 5893)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 10544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 21924)
Completed 200 OK in 37ms (Views: 29.9ms | ActiveRecord: 2.4ms | Allocations: 24199)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:15:53 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"23"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 27], ["updated_at", "2022-01-30 22:15:53.677443"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 23], ["product_id", 5], ["created_at", "2022-01-30 22:15:53.682077"], ["updated_at", "2022-01-30 22:15:53.682077"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 21ms (ActiveRecord: 8.2ms | Allocations: 7445)
Started GET “/orders” for ::1 at 2022-01-30 17:15:53 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 15.8ms | Allocations: 7128)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 18737)
Completed 200 OK in 36ms (Views: 29.0ms | ActiveRecord: 3.7ms | Allocations: 20409)
Started GET “/products/5” for ::1 at 2022-01-30 17:15:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 10534)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 21855)
Completed 200 OK in 37ms (Views: 30.8ms | ActiveRecord: 2.7ms | Allocations: 24129)
Started GET “/products” for ::1 at 2022-01-30 17:17:22 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.5ms | Allocations: 6284)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 17735)
Completed 200 OK in 76ms (Views: 31.5ms | ActiveRecord: 18.9ms | Allocations: 28076)
Started GET “/products” for ::1 at 2022-01-30 17:17:33 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > -1) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.7ms | Allocations: 6771)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.3ms | Allocations: 18221)
Completed 200 OK in 59ms (Views: 31.1ms | ActiveRecord: 12.8ms | Allocations: 28101)
Started GET “/products” for ::1 at 2022-01-30 17:17:37 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 20.7ms | Allocations: 6263)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 779) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 17713)
Completed 200 OK in 56ms (Views: 30.4ms | ActiveRecord: 11.9ms | Allocations: 27590)
Started GET “/products/5” for ::1 at 2022-01-30 17:17:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 15.6ms | Allocations: 11513)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.3ms | Allocations: 22891)
Completed 200 OK in 65ms (Views: 29.6ms | ActiveRecord: 13.7ms | Allocations: 33447)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:17:46 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"27"}, "commit"=>"Create Order", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 0], ["updated_at", "2022-01-30 22:17:46.903703"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 27], ["product_id", 5], ["created_at", "2022-01-30 22:17:46.910539"], ["updated_at", "2022-01-30 22:17:46.910539"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 23ms (ActiveRecord: 8.2ms | Allocations: 8651)
Started GET “/orders” for ::1 at 2022-01-30 17:17:46 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 16.7ms | Allocations: 7964)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.1ms | Allocations: 19586)
Completed 200 OK in 39ms (Views: 31.4ms | ActiveRecord: 3.5ms | Allocations: 21378)
Started GET “/products” for ::1 at 2022-01-30 17:17:48 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 746)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 13175)
Completed 200 OK in 27ms (Views: 19.9ms | ActiveRecord: 2.1ms | Allocations: 14894)
[1m[35m (6.8ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m [1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-AWE"], ["id", 2], ["LIMIT", 1]] [1m[36mProduct Update (0.6ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 10], ["updated_at", "2022-01-30 22:18:16.846104"], ["id", 2]] [1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m [1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT $1[0m [["LIMIT", 1]] [1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]] [1m[36mProduct Update (0.6ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 10], ["updated_at", "2022-01-30 22:18:25.571151"], ["id", 5]] [1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-01-30 17:18:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 2128)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 769) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 13601)
Completed 200 OK in 40ms (Views: 31.7ms | ActiveRecord: 2.4ms | Allocations: 15318)
Started GET “/products” for ::1 at 2022-01-30 17:18:30 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 2129)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 13605)
Completed 200 OK in 26ms (Views: 20.4ms | ActiveRecord: 2.3ms | Allocations: 15325)
Started GET “/orders” for ::1 at 2022-01-30 17:18:30 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 22.5ms | Allocations: 8527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 44.4ms | Allocations: 20267)
Completed 200 OK in 50ms (Views: 41.6ms | ActiveRecord: 4.5ms | Allocations: 21943)
Started DELETE “/orders/12?order_id=12” for ::1 at 2022-01-30 17:18:35 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"12", "id"=>"12"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 12]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 4.1ms | Allocations: 4339)
Started GET “/orders” for ::1 at 2022-01-30 17:18:35 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 14.0ms | Allocations: 7128)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.9ms | Allocations: 18680)
Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 3.3ms | Allocations: 20351)
Started DELETE “/orders/13?order_id=13” for ::1 at 2022-01-30 17:18:37 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"13", "id"=>"13"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 13]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.5ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:37 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 15.9ms | Allocations: 6472)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 18077)
Completed 200 OK in 41ms (Views: 30.1ms | ActiveRecord: 5.4ms | Allocations: 19749)
Started DELETE “/orders/17?order_id=17” for ::1 at 2022-01-30 17:18:39 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"17", "id"=>"17"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 17]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 3.9ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:39 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.6ms | Allocations: 5816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 17426)
Completed 200 OK in 30ms (Views: 22.8ms | ActiveRecord: 3.5ms | Allocations: 19099)
Started DELETE “/orders/14?order_id=14” for ::1 at 2022-01-30 17:18:42 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"14", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 14]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.1ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:42 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.1ms | Allocations: 5160)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 16769)
Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 3.1ms | Allocations: 18442)
Started DELETE “/orders/18?order_id=18” for ::1 at 2022-01-30 17:18:45 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"18", "id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.3ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 18]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 53ms (ActiveRecord: 5.8ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:45 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 15.5ms | Allocations: 4504)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 16055)
Completed 200 OK in 41ms (Views: 33.8ms | ActiveRecord: 4.1ms | Allocations: 17726)
Started DELETE “/orders/16?order_id=16” for ::1 at 2022-01-30 17:18:46 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"16", "id"=>"16"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 16]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 3.9ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:46 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 3848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.8ms | Allocations: 15405)
Completed 200 OK in 30ms (Views: 23.2ms | ActiveRecord: 3.8ms | Allocations: 17077)
Started DELETE “/orders/15?order_id=15” for ::1 at 2022-01-30 17:18:47 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"15", "id"=>"15"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 15]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.1ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:47 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.2ms | Allocations: 2935)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 14545)
Completed 200 OK in 26ms (Views: 21.1ms | ActiveRecord: 2.5ms | Allocations: 16218)
Started DELETE “/orders/20?order_id=20” for ::1 at 2022-01-30 17:18:49 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"20", "id"=>"20"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.0ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 20]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.2ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:49 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 2279)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.0ms | Allocations: 13889)
Completed 200 OK in 26ms (Views: 20.6ms | ActiveRecord: 2.5ms | Allocations: 15562)
Started DELETE “/orders/19?order_id=19” for ::1 at 2022-01-30 17:18:51 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"19", "id"=>"19"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.2ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 19]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 5.0ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 17:18:51 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 13231)
Completed 200 OK in 27ms (Views: 20.0ms | ActiveRecord: 3.3ms | Allocations: 14903)
Started GET “/” for ::1 at 2022-01-30 17:18:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1925) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.3ms | Allocations: 13638)
Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.8ms | Allocations: 14679)
Started GET “/products” for ::1 at 2022-01-30 17:18:56 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 2887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 773) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 14460)
Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 2.5ms | Allocations: 16180)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 17:19:10 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (6.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 11ms (ActiveRecord: 6.2ms | Allocations: 2213)
Started GET “/” for ::1 at 2022-01-30 17:19:10 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 836) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.2ms | Allocations: 11703)
Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms | Allocations: 12095)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:19:13 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 571) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 19.5ms | Allocations: 10260)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 21928)
Completed 200 OK in 41ms (Views: 39.4ms | ActiveRecord: 0.0ms | Allocations: 23455)
Started GET “/users/sign_up” for ::1 at 2022-01-30 17:19:14 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 116) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 21.7ms | Allocations: 14118)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.6ms | Allocations: 26503)
Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms | Allocations: 27738)
Started POST “/users” for ::1 at 2022-01-30 17:19:27 -0500 Processing by Devise::RegistrationsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"first_name"=>"Gabriel", "last_name"=>"Llerena", "address"=>"Calle Bagua 203", "phone"=>"", "email"=>"", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
Rendering layout layouts/application.html.erb
Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 107)
Rendered devise/registrations/new.html.erb within layouts/application (Duration: 23.6ms | Allocations: 16017)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 27521)
Completed 200 OK in 49ms (Views: 43.2ms | ActiveRecord: 0.0ms | Allocations: 30635)
Started POST “/users” for ::1 at 2022-01-30 17:19:43 -0500 Processing by Devise::RegistrationsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"first_name"=>"Gabriel", "last_name"=>"Llerena", "address"=>"Calle Bagua 203", "phone"=>"944204207", "email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (2.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$.BY3pYgqBZV1b5DSwsU3t.BQxD5uHH1Rq7DT4D.V527ERde1eeKv."], ["created_at", "2022-01-30 22:19:43.462988"], ["updated_at", "2022-01-30 22:19:43.462988"], ["first_name", "Gabriel"], ["last_name", "Llerena"], ["address", "Calle Bagua 203"], ["phone", "944204207"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
Redirected to localhost:3000/ Completed 302 Found in 240ms (ActiveRecord: 4.7ms | Allocations: 5914)
Started GET “/” for ::1 at 2022-01-30 17:19:43 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1928) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 12795)
Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.8ms | Allocations: 13194)
Started GET “/products” for ::1 at 2022-01-30 17:19:48 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 3030)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 775) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.0ms | Allocations: 14516)
Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 2.5ms | Allocations: 16237)
Started GET “/products” for ::1 at 2022-01-30 17:20:41 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.2ms | Allocations: 6166) Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 6230)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 2.0ms | Allocations: 8718)
ActionView::Template::Error (undefined local variable or method `current' for #<ActionView::Base:0x000000000ae998> Did you mean? current_user):
15: <p class="card-text text-right">Price: $ <%= product.price %></p>
16: <div class='product-card-buttons'>
17: <%= link_to 'Buy product', product_path(product), class:'btn btn-primary' %>
18: <% if current.user.admin == true %>
19: <%= button_to "Remove", {:controller => :products,
20: :action => 'destroy', :id => product.id }, :method => :delete,
21: class: 'product-remove', data: { confirm: "Are you sure?" } %>
app/views/products/index.html.erb:18 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-01-30 17:20:50 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2128)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.8ms | Allocations: 14635)
Completed 200 OK in 34ms (Views: 28.3ms | ActiveRecord: 1.8ms | Allocations: 17150)
Started GET “/products/5” for ::1 at 2022-01-30 17:20:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:32
Rendered products/show.html.erb within layouts/application (Duration: 26.8ms | Allocations: 11970)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 774) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.9ms | Allocations: 23505)
Completed 200 OK in 52ms (Views: 43.1ms | ActiveRecord: 3.4ms | Allocations: 25909)
Started GET “/products/5” for ::1 at 2022-01-30 17:21:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 16.7ms | Allocations: 11042)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 44.8ms | Allocations: 23391)
Completed 200 OK in 55ms (Views: 46.5ms | ActiveRecord: 3.3ms | Allocations: 26465)
Started GET “/products/5” for ::1 at 2022-01-30 17:22:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 15.6ms | Allocations: 10360)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1507.2ms | Allocations: 102683)
Completed 200 OK in 1514ms (Views: 1506.8ms | ActiveRecord: 2.4ms | Allocations: 104959)
Started POST “/products/5/reviews” for ::1 at 2022-01-30 17:22:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"232323", "content"=>"232323"}, "commit"=>"Create Review", "product_id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "232323"], ["content", "232323"], ["product_id", 5], ["user_id", 2], ["created_at", "2022-01-30 22:22:43.546404"], ["updated_at", "2022-01-30 22:22:43.546404"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/5 Completed 200 OK in 15ms (ActiveRecord: 5.6ms | Allocations: 5253)
Started GET “/products/5” for ::1 at 2022-01-30 17:22:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 25.5ms | Allocations: 13377)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 24721)
Completed 200 OK in 49ms (Views: 37.2ms | ActiveRecord: 6.2ms | Allocations: 27728)
Started GET “/products/5” for ::1 at 2022-01-30 17:23:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 21.2ms | Allocations: 12694)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 43.9ms | Allocations: 25042)
Completed 200 OK in 55ms (Views: 43.8ms | ActiveRecord: 5.0ms | Allocations: 28116)
Started POST “/products/5/reviews” for ::1 at 2022-01-30 17:23:32 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"321423433", "content"=>"234324"}, "commit"=>"Create Review", "product_id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "321423433"], ["content", "234324"], ["product_id", 5], ["user_id", 2], ["created_at", "2022-01-30 22:23:32.478962"], ["updated_at", "2022-01-30 22:23:32.478962"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/5 Completed 200 OK in 12ms (ActiveRecord: 4.6ms | Allocations: 4360)
Started GET “/products/5” for ::1 at 2022-01-30 17:23:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 47.3ms | Allocations: 12893)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 62.0ms | Allocations: 24212)
Completed 200 OK in 71ms (Views: 59.3ms | ActiveRecord: 6.3ms | Allocations: 28081)
Started GET “/products/5” for ::1 at 2022-01-30 17:24:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 29.5ms | Allocations: 13315)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 49.0ms | Allocations: 25724)
Completed 200 OK in 59ms (Views: 48.1ms | ActiveRecord: 5.1ms | Allocations: 28793)
Started GET “/products/5” for ::1 at 2022-01-30 17:24:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.8ms | Allocations: 1718)
Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 1783)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.8ms | Allocations: 4830)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% if current_user.admin == true %>
<div class="product-edit-delete">
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
<div class='product-show-card'>
<%= image_tag('coca_cola', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity %>
<div class='text-right mt-5'>
<%= f.button :submit 'jjs', class: 'btn btn-outline-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
</div>
<% end %>
</div>
): 1: <% if current_user.admin == true %> 2: <div class=“product-edit-delete”> 3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 4: <%= button_to “Remove product”, {:controller => :products, 5: :action => 'destroy', :id => @product.id }, :method => :delete, 6: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 7: </div> 8: <% end %> 9:
10: <div class='product-show-card'> 11: <%= image_tag('coca_cola', class: 'product-show-image') %> 12: <div class='product-details'> 13: <p class='product-name'><%= @product.name %></p> 14: <p class='product-description'>Description: <%= @product.description %></p> 15: <p class='product-price'>Price: $ <%= @product.price %></p> 16: <hr> 17: <div class='product-stock-likes'> 18: <p class='product-stock'>Stock: <%= @product.stock %></p> 19: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 20: </div> 21: <hr> 22: <div class='order-buy-form'> 23: <%= simple_form_for([ @product, @order ]) do |f| %> 24: <%= f.input :quantity %> 25: <div class='text-right mt-5'> 26: <%= f.button :submit 'jjs', class: 'btn btn-outline-primary btn-buy' %> 27: </div> 28: <% end %> 29: </div> 30: </div> 31: </div> 32:
33: <div class='reviews-show'> 34: <% if @product.reviews.blank? %> 35: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 36: <% else %> 37: <h2>Reviews</h2> 38: <% @product.reviews.order('created_at DESC').each do |review| %> 39: <div class=“card”> 40: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 41: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 42: <span class='text-muted', style='font-size: 15px'> 43: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 44: </span> 45: </h5> 46: <div class=“card-body”> 47: <% if current_user.admin == true %> 48: <%= link_to “Remove”, 49: review_path(review, :product_id => review.product), 50: method: :delete, 51: class: 'product-remove', 52: data: { confirm: “Are you sure?” } %> 53: <% end %> 54: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 55: <p class=“card-text”><p><%= review.content %></p></p> 56: </div> 57: </div> 58: <% end %> 59: <% end %> 60: </div> 61:
62: <hr> 63: <div class='review-form'> 64: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 65: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 66: <%= f.input :title %> 67: <%= f.input :content, as: :text %> 68: <div class='text-right mt-5'> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: </div> 71: <% end %> 72: </div>
app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected string literal, expecting ')' app/views/products/show.html.erb:26: syntax error, unexpected ',', expecting ')' Started GET “/products/5” for ::1 at 2022-01-30 17:25:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 21.6ms | Allocations: 13179)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1191) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 53.8ms | Allocations: 25589)
Completed 200 OK in 64ms (Views: 54.4ms | ActiveRecord: 4.2ms | Allocations: 28663)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:25:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>""}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
Completed 500 Internal Server Error in 8ms (ActiveRecord: 2.1ms | Allocations: 2538)
TypeError (nil can't be coerced into Integer):
app/controllers/orders_controller.rb:14:in `-' app/controllers/orders_controller.rb:14:in `create' Started GET “/products/5” for ::1 at 2022-01-30 17:25:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 16.6ms | Allocations: 12460)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 23781)
Completed 200 OK in 41ms (Views: 33.4ms | ActiveRecord: 3.8ms | Allocations: 26056)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:25:28 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.5ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 8], ["updated_at", "2022-01-30 22:25:28.681844"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 5], ["created_at", "2022-01-30 22:25:28.687125"], ["updated_at", "2022-01-30 22:25:28.687125"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 21ms (ActiveRecord: 8.3ms | Allocations: 7446)
Started GET “/orders” for ::1 at 2022-01-30 17:25:28 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 2635)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 14202)
Completed 200 OK in 30ms (Views: 23.2ms | ActiveRecord: 2.8ms | Allocations: 16452)
Started GET “/products/5” for ::1 at 2022-01-30 17:25:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 18.4ms | Allocations: 12459)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 23781)
Completed 200 OK in 39ms (Views: 30.5ms | ActiveRecord: 3.8ms | Allocations: 26056)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:25:37 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 6], ["updated_at", "2022-01-30 22:25:37.321694"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (0.8ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 5], ["created_at", "2022-01-30 22:25:37.326385"], ["updated_at", "2022-01-30 22:25:37.326385"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 20ms (ActiveRecord: 8.2ms | Allocations: 7445)
Started GET “/orders” for ::1 at 2022-01-30 17:25:37 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.8ms | Allocations: 2935)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 14486)
Completed 200 OK in 27ms (Views: 20.3ms | ActiveRecord: 3.1ms | Allocations: 16158)
Started GET “/products/5” for ::1 at 2022-01-30 17:25:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 12433)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 758) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 23746)
Completed 200 OK in 38ms (Views: 29.6ms | ActiveRecord: 4.0ms | Allocations: 26021)
Started POST “/products/5/orders” for ::1 at 2022-01-30 17:25:41 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 4], ["updated_at", "2022-01-30 22:25:41.999345"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (0.8ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 5], ["created_at", "2022-01-30 22:25:42.004117"], ["updated_at", "2022-01-30 22:25:42.004117"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 24ms (ActiveRecord: 7.9ms | Allocations: 7445)
Started GET “/orders” for ::1 at 2022-01-30 17:25:42 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 3592)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 15202)
Completed 200 OK in 27ms (Views: 21.7ms | ActiveRecord: 2.3ms | Allocations: 16875)
Started GET “/products/5” for ::1 at 2022-01-30 17:25:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 17.9ms | Allocations: 12448)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 23763)
Completed 200 OK in 38ms (Views: 29.8ms | ActiveRecord: 4.1ms | Allocations: 26037)
Started GET “/products/5” for ::1 at 2022-01-30 17:26:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (2.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 34.3ms | Allocations: 13164)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 54.8ms | Allocations: 25512)
Completed 200 OK in 64ms (Views: 52.0ms | ActiveRecord: 7.3ms | Allocations: 28586)
Started GET “/products/5” for ::1 at 2022-01-30 17:26:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (2.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 28.4ms | Allocations: 13089)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 53.6ms | Allocations: 25435)
Completed 200 OK in 64ms (Views: 51.5ms | ActiveRecord: 6.9ms | Allocations: 28503)
Started GET “/products/5” for ::1 at 2022-01-30 17:27:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (6.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 22.4ms | Allocations: 13175)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1188) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 25582)
Completed 200 OK in 54ms (Views: 38.6ms | ActiveRecord: 10.2ms | Allocations: 28657)
Started GET “/products/5” for ::1 at 2022-01-30 17:27:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 20.1ms | Allocations: 13158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 25507)
Completed 200 OK in 46ms (Views: 36.8ms | ActiveRecord: 4.4ms | Allocations: 28575)
Started GET “/products/5” for ::1 at 2022-01-30 17:28:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 1719)
Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 1784)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.5ms | Allocations: 4831)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% if current_user.admin == true %>
<div class="product-edit-delete">
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
<div class='product-show-card'>
<%= image_tag('coca_cola', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: {value: f.object.quantity || '1' %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
</div>
<% end %>
</div>
): 1: <% if current_user.admin == true %> 2: <div class=“product-edit-delete”> 3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 4: <%= button_to “Remove product”, {:controller => :products, 5: :action => 'destroy', :id => @product.id }, :method => :delete, 6: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 7: </div> 8: <% end %> 9:
10: <div class='product-show-card'> 11: <%= image_tag('coca_cola', class: 'product-show-image') %> 12: <div class='product-details'> 13: <p class='product-name'><%= @product.name %></p> 14: <p class='product-description'>Description: <%= @product.description %></p> 15: <p class='product-price'>Price: $ <%= @product.price %></p> 16: <hr> 17: <div class='product-stock-likes'> 18: <p class='product-stock'>Stock: <%= @product.stock %></p> 19: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 20: </div> 21: <hr> 22: <div class='order-buy-form'> 23: <%= simple_form_for([ @product, @order ]) do |f| %> 24: <%= f.input :quantity, input_html: {value: f.object.quantity || '1' %> 25: <div class='text-right mt-5'> 26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 27: </div> 28: <% end %> 29: </div> 30: </div> 31: </div> 32:
33: <div class='reviews-show'> 34: <% if @product.reviews.blank? %> 35: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 36: <% else %> 37: <h2>Reviews</h2> 38: <% @product.reviews.order('created_at DESC').each do |review| %> 39: <div class=“card”> 40: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 41: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 42: <span class='text-muted', style='font-size: 15px'> 43: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 44: </span> 45: </h5> 46: <div class=“card-body”> 47: <% if current_user.admin == true %> 48: <%= link_to “Remove”, 49: review_path(review, :product_id => review.product), 50: method: :delete, 51: class: 'product-remove', 52: data: { confirm: “Are you sure?” } %> 53: <% end %> 54: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 55: <p class=“card-text”><p><%= review.content %></p></p> 56: </div> 57: </div> 58: <% end %> 59: <% end %> 60: </div> 61:
62: <hr> 63: <div class='review-form'> 64: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 65: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 66: <%= f.input :title %> 67: <%= f.input :content, as: :text %> 68: <div class='text-right mt-5'> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: </div> 71: <% end %> 72: </div>
app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' Started GET “/products/5” for ::1 at 2022-01-30 17:28:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 1708)
Rendered layout layouts/application.html.erb (Duration: 2.2ms | Allocations: 1773)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.9ms | Allocations: 4019)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% if current_user.admin == true %>
<div class="product-edit-delete">
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
<div class='product-show-card'>
<%= image_tag('coca_cola', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: {value: f.object.quantity || '1' %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
</div>
<% end %>
</div>
): 1: <% if current_user.admin == true %> 2: <div class=“product-edit-delete”> 3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 4: <%= button_to “Remove product”, {:controller => :products, 5: :action => 'destroy', :id => @product.id }, :method => :delete, 6: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 7: </div> 8: <% end %> 9:
10: <div class='product-show-card'> 11: <%= image_tag('coca_cola', class: 'product-show-image') %> 12: <div class='product-details'> 13: <p class='product-name'><%= @product.name %></p> 14: <p class='product-description'>Description: <%= @product.description %></p> 15: <p class='product-price'>Price: $ <%= @product.price %></p> 16: <hr> 17: <div class='product-stock-likes'> 18: <p class='product-stock'>Stock: <%= @product.stock %></p> 19: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 20: </div> 21: <hr> 22: <div class='order-buy-form'> 23: <%= simple_form_for([ @product, @order ]) do |f| %> 24: <%= f.input :quantity, input_html: {value: f.object.quantity || '1' %> 25: <div class='text-right mt-5'> 26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 27: </div> 28: <% end %> 29: </div> 30: </div> 31: </div> 32:
33: <div class='reviews-show'> 34: <% if @product.reviews.blank? %> 35: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 36: <% else %> 37: <h2>Reviews</h2> 38: <% @product.reviews.order('created_at DESC').each do |review| %> 39: <div class=“card”> 40: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 41: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 42: <span class='text-muted', style='font-size: 15px'> 43: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 44: </span> 45: </h5> 46: <div class=“card-body”> 47: <% if current_user.admin == true %> 48: <%= link_to “Remove”, 49: review_path(review, :product_id => review.product), 50: method: :delete, 51: class: 'product-remove', 52: data: { confirm: “Are you sure?” } %> 53: <% end %> 54: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 55: <p class=“card-text”><p><%= review.content %></p></p> 56: </div> 57: </div> 58: <% end %> 59: <% end %> 60: </div> 61:
62: <hr> 63: <div class='review-form'> 64: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 65: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 66: <%= f.input :title %> 67: <%= f.input :content, as: :text %> 68: <div class='text-right mt-5'> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: </div> 71: <% end %> 72: </div>
app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ')', expecting '}' app/views/products/show.html.erb:28: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:38: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:59: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:65: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:71: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:78: syntax error, unexpected `end', expecting ')' Started GET “/products/5” for ::1 at 2022-01-30 17:28:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 25.2ms | Allocations: 13182)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 47.9ms | Allocations: 25587)
Completed 200 OK in 57ms (Views: 47.8ms | ActiveRecord: 4.1ms | Allocations: 28660)
Started GET “/products/5” for ::1 at 2022-01-30 17:29:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 23.1ms | Allocations: 13155)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 25501)
Completed 200 OK in 51ms (Views: 40.1ms | ActiveRecord: 5.3ms | Allocations: 28569)
Started GET “/products” for ::1 at 2022-01-30 17:29:06 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 2126)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.6ms | Allocations: 14445)
Completed 200 OK in 37ms (Views: 30.2ms | ActiveRecord: 2.2ms | Allocations: 16290)
Started GET “/products/5” for ::1 at 2022-01-30 17:29:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 25.7ms | Allocations: 13215)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 24697)
Completed 200 OK in 50ms (Views: 38.2ms | ActiveRecord: 6.2ms | Allocations: 26976)
Started GET “/users/edit” for ::1 at 2022-01-30 17:29:12 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.1ms | Allocations: 14858)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 26529)
Completed 200 OK in 45ms (Views: 39.7ms | ActiveRecord: 0.9ms | Allocations: 29178)
Started GET “/products/5” for ::1 at 2022-01-30 17:29:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 46.3ms | Allocations: 13212)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 72.1ms | Allocations: 24637)
Completed 200 OK in 83ms (Views: 68.6ms | ActiveRecord: 7.8ms | Allocations: 26914)
Started POST “/products/5/reviews” for ::1 at 2022-01-30 17:29:21 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"213123", "content"=>"12323"}, "commit"=>"Create Review", "product_id"=>"5"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.1ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "213123"], ["content", "12323"], ["product_id", 5], ["user_id", 2], ["created_at", "2022-01-30 22:29:21.323493"], ["updated_at", "2022-01-30 22:29:21.323493"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/5 Completed 200 OK in 12ms (ActiveRecord: 4.7ms | Allocations: 4360)
Started GET “/products/5” for ::1 at 2022-01-30 17:29:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 13174)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 24509)
Completed 200 OK in 51ms (Views: 40.8ms | ActiveRecord: 4.4ms | Allocations: 27652)
Started GET “/products” for ::1 at 2022-01-30 17:29:27 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1846)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 14100)
Completed 200 OK in 29ms (Views: 22.4ms | ActiveRecord: 2.6ms | Allocations: 15819)
Started GET “/products?query=se&commit=Search” for ::1 at 2022-01-30 17:29:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"se", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'se' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'se' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 1453)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.0ms | Allocations: 12921)
Completed 200 OK in 26ms (Views: 17.9ms | ActiveRecord: 3.3ms | Allocations: 15054)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:29:33 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 3.8ms | Allocations: 1811)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.1ms | Allocations: 13224)
Completed 200 OK in 24ms (Views: 18.4ms | ActiveRecord: 2.3ms | Allocations: 14938)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:30:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:10
Rendered products/index.html.erb within layouts/application (Duration: 5.2ms | Allocations: 2140)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 29.7ms | Allocations: 14588)
Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 1.9ms | Allocations: 17102)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:30:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:10
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 2133)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 14578)
Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 2.3ms | Allocations: 17086)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:30:55 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:10
Rendered products/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 2136)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1188) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.6ms | Allocations: 14644)
Completed 200 OK in 34ms (Views: 28.3ms | ActiveRecord: 2.2ms | Allocations: 17153)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:31:03 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:10
Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2130)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 14575)
Completed 200 OK in 29ms (Views: 23.2ms | ActiveRecord: 1.8ms | Allocations: 17089)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:31:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:10
Rendered products/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 2132)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1188) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 14635)
Completed 200 OK in 31ms (Views: 25.0ms | ActiveRecord: 1.8ms | Allocations: 17144)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:31:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:12
Rendered products/index.html.erb within layouts/application (Duration: 4.6ms | Allocations: 2148)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 14596)
Completed 200 OK in 31ms (Views: 24.8ms | ActiveRecord: 1.8ms | Allocations: 17104)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:32:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:13
Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 2149)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 26.6ms | Allocations: 14596)
Completed 200 OK in 34ms (Views: 27.8ms | ActiveRecord: 2.1ms | Allocations: 17110)
Started GET “/products/2” for ::1 at 2022-01-30 17:32:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 24.6ms | Allocations: 10958)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 23209)
Completed 200 OK in 49ms (Views: 42.7ms | ActiveRecord: 2.2ms | Allocations: 25613)
Started GET “/products/2/edit” for ::1 at 2022-01-30 17:32:41 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:31:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 16.5ms | Allocations: 12331)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 797) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 23784)
Completed 200 OK in 43ms (Views: 35.1ms | ActiveRecord: 2.2ms | Allocations: 26521)
Started GET “/products/2” for ::1 at 2022-01-30 17:32:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 10216)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.6ms | Allocations: 21586)
Completed 200 OK in 34ms (Views: 26.2ms | ActiveRecord: 2.4ms | Allocations: 23862)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 17:33:06 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms | Allocations: 1915)
Started GET “/” for ::1 at 2022-01-30 17:33:06 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 108)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 838) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 22.0ms | Allocations: 11722)
Completed 200 OK in 24ms (Views: 23.5ms | ActiveRecord: 0.0ms | Allocations: 12692)
Started GET “/products” for ::1 at 2022-01-30 17:33:07 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 223)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:33:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.0ms | Allocations: 9416)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 20978)
Completed 200 OK in 38ms (Views: 36.3ms | ActiveRecord: 0.0ms | Allocations: 22509)
Started GET “/products” for ::1 at 2022-01-30 17:33:12 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:33:12 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.9ms | Allocations: 8693)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 20243)
Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.0ms | Allocations: 20854)
Started GET “/orders” for ::1 at 2022-01-30 17:33:28 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:33:28 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.9ms | Allocations: 8706)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 33.2ms | Allocations: 21014)
Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms | Allocations: 21653)
Started GET “/orders” for ::1 at 2022-01-30 17:35:53 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms | Allocations: 788)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:35:54 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 164) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.5ms | Allocations: 8664)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 20226)
Completed 200 OK in 54ms (Views: 37.8ms | ActiveRecord: 7.2ms | Allocations: 27081)
Started GET “/orders” for ::1 at 2022-01-30 17:35:57 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:35:57 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.5ms | Allocations: 8691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 795) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 28.5ms | Allocations: 20241)
Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.0ms | Allocations: 20853)
Started GET “/products” for ::1 at 2022-01-30 17:36:10 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms | Allocations: 788)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:36:11 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 164) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 20.4ms | Allocations: 8663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 44.6ms | Allocations: 20169)
Completed 200 OK in 67ms (Views: 45.3ms | ActiveRecord: 5.7ms | Allocations: 27005)
Started GET “/products” for ::1 at 2022-01-30 17:38:05 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:05 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.2ms | Allocations: 9422)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1221) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 206) Rendered layout layouts/application.html.erb (Duration: 39.5ms | Allocations: 22007)
Completed 200 OK in 65ms (Views: 44.2ms | ActiveRecord: 0.0ms | Allocations: 23756)
Started GET “/products” for ::1 at 2022-01-30 17:38:06 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:06 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 8695)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 20276)
Completed 200 OK in 30ms (Views: 28.8ms | ActiveRecord: 0.0ms | Allocations: 20888)
Started GET “/products” for ::1 at 2022-01-30 17:38:07 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 10.7ms | Allocations: 8677)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 20209)
Completed 200 OK in 29ms (Views: 28.0ms | ActiveRecord: 0.0ms | Allocations: 20817)
Started GET “/products” for ::1 at 2022-01-30 17:38:07 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 8674)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 20185)
Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.0ms | Allocations: 20793)
Started GET “/products” for ::1 at 2022-01-30 17:38:07 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 10.4ms | Allocations: 8673)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 795) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 20222)
Completed 200 OK in 33ms (Views: 32.6ms | ActiveRecord: 0.0ms | Allocations: 20831)
Started GET “/products” for ::1 at 2022-01-30 17:38:07 -0500 Processing by ProductsController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:38:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 31.6ms | Allocations: 8706)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 795) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 51.0ms | Allocations: 20257)
Completed 200 OK in 52ms (Views: 51.5ms | ActiveRecord: 0.0ms | Allocations: 20868)
Started POST “/users/sign_in” for ::1 at 2022-01-30 17:39:39 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products Completed 302 Found in 219ms (ActiveRecord: 1.0ms | Allocations: 3696)
Started GET “/products” for ::1 at 2022-01-30 17:39:40 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.8ms | Allocations: 6256)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 205) Rendered layout layouts/application.html.erb (Duration: 39.9ms | Allocations: 18652)
Completed 200 OK in 54ms (Views: 36.8ms | ActiveRecord: 5.9ms | Allocations: 24691)
Started GET “/products/new” for ::1 at 2022-01-30 17:39:46 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 17.4ms | Allocations: 12306)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 815) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.4ms | Allocations: 24677)
Completed 200 OK in 45ms (Views: 40.0ms | ActiveRecord: 0.8ms | Allocations: 26482)
Started POST “/products” for ::1 at 2022-01-30 17:40:01 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-UIO", "name"=>"jwejehg`", "description"=>"khwkwehrwekh`", "price"=>"125", "stock"=>"23"}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mProduct Exists? (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-UIO"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mProduct Create (1.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-UIO"], ["name", "jwejehg`"], ["description", "khwkwehrwekh`"], ["price", 125.0], ["stock", 23], ["created_at", "2022-01-30 22:40:01.656046"], ["updated_at", "2022-01-30 22:40:01.656046"]]
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:23:in `create'
Redirected to localhost:3000/products/11 Completed 302 Found in 15ms (ActiveRecord: 5.7ms | Allocations: 5088)
Started GET “/products/11” for ::1 at 2022-01-30 17:40:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 25.1ms | Allocations: 11856)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 23236)
Completed 200 OK in 71ms (Views: 39.7ms | ActiveRecord: 12.5ms | Allocations: 33017)
Started GET “/products” for ::1 at 2022-01-30 17:41:09 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 17.2ms | Allocations: 6275)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.9ms | Allocations: 17717)
Completed 200 OK in 62ms (Views: 27.7ms | ActiveRecord: 16.5ms | Allocations: 27736)
Started GET “/products/new” for ::1 at 2022-01-30 17:41:10 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 17.2ms | Allocations: 12070)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 24440)
Completed 200 OK in 43ms (Views: 36.1ms | ActiveRecord: 1.3ms | Allocations: 26118)
Started POST “/products” for ::1 at 2022-01-30 17:41:20 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-YTR", "name"=>"gsdyd", "description"=>"jddjdjd", "price"=>"12", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-YTR"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:23:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
Rendered products/new.html.erb within layouts/application (Duration: 16.9ms | Allocations: 12971)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 24458)
Completed 200 OK in 50ms (Views: 39.7ms | ActiveRecord: 3.2ms | Allocations: 29252)
Started POST “/products” for ::1 at 2022-01-30 17:41:23 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-YTR", "name"=>"gsdyd", "description"=>"jddjdjdwerwe", "price"=>"12", "stock"=>"2"}, "commit"=>"Add product"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-YTR"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-YTR"], ["name", "gsdyd"], ["description", "jddjdjdwerwe"], ["price", 12.0], ["stock", 2], ["created_at", "2022-01-30 22:41:23.356468"], ["updated_at", "2022-01-30 22:41:23.356468"]]
↳ app/controllers/products_controller.rb:23:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:23:in `create'
Redirected to localhost:3000/products Completed 302 Found in 14ms (ActiveRecord: 4.5ms | Allocations: 4851)
Started GET “/products” for ::1 at 2022-01-30 17:41:23 -0500 Processing by ProductsController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 2548)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 14016)
Completed 200 OK in 26ms (Views: 20.4ms | ActiveRecord: 2.0ms | Allocations: 15732)
Started GET “/products/12” for ::1 at 2022-01-30 17:41:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:52:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 17.7ms | Allocations: 11228)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.9ms | Allocations: 22601)
Completed 200 OK in 85ms (Views: 52.7ms | ActiveRecord: 14.9ms | Allocations: 33074)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 17:42:13 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms | Allocations: 2214)
Started GET “/” for ::1 at 2022-01-30 17:42:14 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 842) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 14.6ms | Allocations: 11688)
Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.0ms | Allocations: 12727)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 17:42:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 223)
Started GET “/users/sign_in” for ::1 at 2022-01-30 17:42:16 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 540) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.9ms | Allocations: 9431)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 20994)
Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms | Allocations: 22521)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:53:37 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 164) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.6ms | Allocations: 8726)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 38.7ms | Allocations: 20288)
Completed 200 OK in 75ms (Views: 39.4ms | ActiveRecord: 13.3ms | Allocations: 29273)
Started GET “/products” for ::1 at 2022-01-30 18:53:39 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.9ms | Allocations: 6615) Rendered layout layouts/application.html.erb (Duration: 14.3ms | Allocations: 6680)
Completed 500 Internal Server Error in 23ms (ActiveRecord: 2.3ms | Allocations: 9766)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
15: <p class="card-text text-right">Price: $ <%= product.price %></p>
16: <div class='product-card-buttons'>
17: <%= link_to 'Buy product', product_path(product), class:'btn btn-primary' %>
18: <% if current_user.admin == true %>
19: <%= button_to "Remove", {:controller => :products,
20: :action => 'destroy', :id => product.id }, :method => :delete,
21: class: 'product-remove', data: { confirm: "Are you sure?" } %>
app/views/products/index.html.erb:18 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-01-30 18:54:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2793)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1223) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.2ms | Allocations: 15334)
Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 1.1ms | Allocations: 16712)
Started GET “/products/new” for ::1 at 2022-01-30 18:54:25 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 229)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:54:25 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 2.0ms | Allocations: 532) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.8ms | Allocations: 9522)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 33.2ms | Allocations: 21096)
Completed 200 OK in 38ms (Views: 36.7ms | ActiveRecord: 0.0ms | Allocations: 22658)
Started GET “/products/new” for ::1 at 2022-01-30 18:55:00 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 15.8ms | Allocations: 12269)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 831) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 23763)
Completed 200 OK in 54ms (Views: 31.1ms | ActiveRecord: 10.0ms | Allocations: 31004)
Started POST “/products” for ::1 at 2022-01-30 18:55:17 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABZ", "name"=>"q3rqerwerjajaj", "description"=>"werwerwer", "price"=>"2", "stock"=>"1000"}, "commit"=>"Add product"}
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABZ"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:24:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
Rendered products/new.html.erb within layouts/application (Duration: 18.1ms | Allocations: 13859)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 818) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 25317)
Completed 200 OK in 45ms (Views: 36.3ms | ActiveRecord: 2.7ms | Allocations: 28990)
Started POST “/products” for ::1 at 2022-01-30 18:55:26 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABZ", "name"=>"q3rqerwerjajaj", "description"=>"werwerwererer", "price"=>"2", "stock"=>"10"}, "commit"=>"Add product"}
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABZ"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mProduct Create (1.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABZ"], ["name", "q3rqerwerjajaj"], ["description", "werwerwererer"], ["price", 2.0], ["stock", 10], ["created_at", "2022-01-30 23:55:26.872853"], ["updated_at", "2022-01-30 23:55:26.872853"]]
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mTRANSACTION (2.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:24:in `create'
Redirected to localhost:3000/products Completed 302 Found in 22ms (ActiveRecord: 6.0ms | Allocations: 3711)
Started GET “/products” for ::1 at 2022-01-30 18:55:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2909)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 796) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 14414)
Completed 200 OK in 23ms (Views: 20.6ms | ActiveRecord: 0.9ms | Allocations: 14999)
Started GET “/orders” for ::1 at 2022-01-30 18:55:31 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 305)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:55:31 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 164) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.6ms | Allocations: 8676)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 20236)
Completed 200 OK in 38ms (Views: 24.2ms | ActiveRecord: 4.9ms | Allocations: 26888)
Started GET “/products” for ::1 at 2022-01-30 18:55:32 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 2894)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 885) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.6ms | Allocations: 15199)
Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 1.3ms | Allocations: 15780)
Started GET “/products?query=pro&commit=Search” for ::1 at 2022-01-30 18:55:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"pro", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'pro' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'pro' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 1808)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 13255)
Completed 200 OK in 24ms (Views: 18.5ms | ActiveRecord: 2.8ms | Allocations: 14249)
Started GET “/” for ::1 at 2022-01-30 18:56:04 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 928) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 12565)
Completed 200 OK in 26ms (Views: 25.1ms | ActiveRecord: 0.0ms | Allocations: 13602)
Started GET “/products” for ::1 at 2022-01-30 18:56:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 3038)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 14562)
Completed 200 OK in 34ms (Views: 21.9ms | ActiveRecord: 1.7ms | Allocations: 15868)
Started GET “/products?query=prod&commit=Search” for ::1 at 2022-01-30 18:56:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"prod", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'prod' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'prod' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 1811)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 795) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.7ms | Allocations: 13315)
Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 1.5ms | Allocations: 14287)
Started GET “/products/new” for ::1 at 2022-01-30 18:56:18 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 18.4ms | Allocations: 11761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 820) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 24171)
Completed 200 OK in 40ms (Views: 38.7ms | ActiveRecord: 0.0ms | Allocations: 24582)
Started GET “/products” for ::1 at 2022-01-30 18:56:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 2894)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 15201)
Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 1.1ms | Allocations: 15782)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:56:38 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.9ms | Allocations: 8690)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 815) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 44.8ms | Allocations: 20974)
Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms | Allocations: 21653)
Started POST “/users/sign_in” for ::1 at 2022-01-30 18:56:53 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/orders Completed 302 Found in 220ms (ActiveRecord: 2.6ms | Allocations: 3757)
Started GET “/orders” for ::1 at 2022-01-30 18:56:53 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 26.8ms | Allocations: 7966)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 41.3ms | Allocations: 19500)
Completed 200 OK in 55ms (Views: 35.3ms | ActiveRecord: 8.2ms | Allocations: 24235)
Started GET “/products” for ::1 at 2022-01-30 18:56:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.9ms | Allocations: 2903)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1696) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.7ms | Allocations: 16189)
Completed 200 OK in 31ms (Views: 26.8ms | ActiveRecord: 2.3ms | Allocations: 16774)
Started GET “/products/new” for ::1 at 2022-01-30 18:57:01 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.1ms | Allocations: 11761)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1908) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 25252)
Completed 200 OK in 43ms (Views: 41.0ms | ActiveRecord: 1.0ms | Allocations: 25665)
Started POST “/products” for ::1 at 2022-01-30 18:57:19 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"2344-GTF", "name"=>"My first product", "description"=>"fasfdsfsdfdsfsdf", "price"=>"2", "stock"=>"1"}, "commit"=>"Add product"}
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2344-GTF"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2344-GTF"], ["name", "My first product"], ["description", "fasfdsfsdfdsfsdf"], ["price", 2.0], ["stock", 1], ["created_at", "2022-01-30 23:57:19.080190"], ["updated_at", "2022-01-30 23:57:19.080190"]]
↳ app/controllers/products_controller.rb:24:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:24:in `create'
Redirected to localhost:3000/products Completed 302 Found in 12ms (ActiveRecord: 4.2ms | Allocations: 3683)
Started GET “/products” for ::1 at 2022-01-30 18:57:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 3259)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 15601)
Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 1.9ms | Allocations: 16181)
Started GET “/products/14” for ::1 at 2022-01-30 18:57:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 18.8ms | Allocations: 12002)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 23381)
Completed 200 OK in 62ms (Views: 39.7ms | ActiveRecord: 8.8ms | Allocations: 30239)
Started POST “/products/14/orders” for ::1 at 2022-01-30 18:57:27 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Buy", "product_id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2344-GTF"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.8ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 14], ["created_at", "2022-01-30 23:57:27.035659"], ["updated_at", "2022-01-30 23:57:27.035659"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 22ms (ActiveRecord: 8.7ms | Allocations: 7606)
Started GET “/orders” for ::1 at 2022-01-30 18:57:27 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 4508)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 24.3ms | Allocations: 16129)
Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 3.6ms | Allocations: 17803)
Started DELETE “/orders/21?order_id=21” for ::1 at 2022-01-30 18:57:38 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"21", "id"=>"21"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 21]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.1ms | Allocations: 4343)
Started GET “/orders” for ::1 at 2022-01-30 18:57:38 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.4ms | Allocations: 3848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.7ms | Allocations: 15434)
Completed 200 OK in 25ms (Views: 19.5ms | ActiveRecord: 3.1ms | Allocations: 17105)
Started DELETE “/orders/22?order_id=22” for ::1 at 2022-01-30 18:57:41 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"22", "id"=>"22"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.0ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 22]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.7ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 18:57:41 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.8ms | Allocations: 3191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.8ms | Allocations: 14763)
Completed 200 OK in 25ms (Views: 19.4ms | ActiveRecord: 3.3ms | Allocations: 16434)
Started GET “/products” for ::1 at 2022-01-30 18:57:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.1ms | Allocations: 3263)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 16492)
Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 2.3ms | Allocations: 17076)
Started GET “/products/13” for ::1 at 2022-01-30 18:57:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (3.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 22.0ms | Allocations: 10991)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 22465)
Completed 200 OK in 46ms (Views: 35.5ms | ActiveRecord: 4.9ms | Allocations: 24747)
Started POST “/products/13/reviews” for ::1 at 2022-01-30 18:58:00 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Geat product", "content"=>"excellent"}, "commit"=>"Create Review", "product_id"=>"13"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.2ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Geat product"], ["content", "excellent"], ["product_id", 13], ["user_id", 2], ["created_at", "2022-01-30 23:58:00.343104"], ["updated_at", "2022-01-30 23:58:00.343104"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/13 Completed 200 OK in 12ms (ActiveRecord: 4.4ms | Allocations: 5252)
Started GET “/products/13” for ::1 at 2022-01-30 18:58:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 20.9ms | Allocations: 12143)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 23532)
Completed 200 OK in 43ms (Views: 34.0ms | ActiveRecord: 4.5ms | Allocations: 26669)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 18:58:08 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 2050)
Started GET “/” for ::1 at 2022-01-30 18:58:08 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 838) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 15.2ms | Allocations: 11688)
Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms | Allocations: 12079)
Started GET “/products” for ::1 at 2022-01-30 18:58:09 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.7ms | Allocations: 3970)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 15608)
Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 1.6ms | Allocations: 16187)
Started GET “/products/14” for ::1 at 2022-01-30 18:58:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:58:10 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.9ms | Allocations: 8699)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 20368)
Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.0ms | Allocations: 20979)
Started GET “/orders” for ::1 at 2022-01-30 18:58:15 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 225)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:58:15 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.2ms | Allocations: 8674)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 25.4ms | Allocations: 20224)
Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.0ms | Allocations: 20834)
Started GET “/” for ::1 at 2022-01-30 18:58:16 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 827) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 11629)
Completed 200 OK in 20ms (Views: 19.8ms | ActiveRecord: 0.0ms | Allocations: 12018)
Started GET “/users/sign_in” for ::1 at 2022-01-30 18:58:50 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.1ms | Allocations: 8673)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.3ms | Allocations: 21089)
Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms | Allocations: 21690)
Started POST “/users/sign_in” for ::1 at 2022-01-30 18:58:55 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/orders Completed 302 Found in 215ms (ActiveRecord: 1.3ms | Allocations: 2458)
Started GET “/orders” for ::1 at 2022-01-30 18:58:55 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 3191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 14772)
Completed 200 OK in 26ms (Views: 20.2ms | ActiveRecord: 3.1ms | Allocations: 16449)
Started DELETE “/orders/23?order_id=23” for ::1 at 2022-01-30 18:59:09 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"23", "id"=>"23"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.4ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 23]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 4.8ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 18:59:09 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.6ms | Allocations: 2535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 14145)
Completed 200 OK in 26ms (Views: 19.2ms | ActiveRecord: 3.5ms | Allocations: 15818)
Started DELETE “/orders/24?order_id=24” for ::1 at 2022-01-30 18:59:11 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"24", "id"=>"24"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 24]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.3ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 18:59:11 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 4.5ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.0ms | Allocations: 13232)
Completed 200 OK in 24ms (Views: 18.4ms | ActiveRecord: 2.5ms | Allocations: 14904)
Started DELETE “/orders/25?order_id=25” for ::1 at 2022-01-30 18:59:13 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"25", "id"=>"25"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.2ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 25]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 4.7ms | Allocations: 4242)
Started GET “/orders” for ::1 at 2022-01-30 18:59:13 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 702)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 12264)
Completed 200 OK in 21ms (Views: 16.8ms | ActiveRecord: 1.5ms | Allocations: 13935)
Started GET “/products” for ::1 at 2022-01-30 18:59:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.5ms | Allocations: 3261)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1690) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.0ms | Allocations: 16547)
Completed 200 OK in 31ms (Views: 27.5ms | ActiveRecord: 2.0ms | Allocations: 17131)
Started GET “/products/new” for ::1 at 2022-01-30 18:59:17 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 19.8ms | Allocations: 11759)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 46.7ms | Allocations: 25224)
Completed 200 OK in 48ms (Views: 46.5ms | ActiveRecord: 0.9ms | Allocations: 25638)
Started GET “/” for ::1 at 2022-01-30 18:59:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.3ms | Allocations: 2701) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 13568)
Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 1.0ms | Allocations: 13972)
Started GET “/products” for ::1 at 2022-01-30 18:59:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.4ms | Allocations: 3262)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1690) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 16527)
Completed 200 OK in 40ms (Views: 36.2ms | ActiveRecord: 2.2ms | Allocations: 17110)
Started GET “/products/14” for ::1 at 2022-01-30 18:59:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 10973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 63.5ms | Allocations: 23193)
Completed 200 OK in 71ms (Views: 62.8ms | ActiveRecord: 3.0ms | Allocations: 25475)
Started GET “/products” for ::1 at 2022-01-30 18:59:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 18.8ms | Allocations: 4046)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.0ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 57.5ms | Allocations: 16477)
Completed 200 OK in 61ms (Views: 54.3ms | ActiveRecord: 3.8ms | Allocations: 17060)
Started GET “/products/12” for ::1 at 2022-01-30 18:59:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 34.9ms | Allocations: 11144)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 79.9ms | Allocations: 22596)
Completed 200 OK in 89ms (Views: 78.8ms | ActiveRecord: 4.1ms | Allocations: 24878)
Started DELETE “/products/12” for ::1 at 2022-01-30 18:59:31 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"12"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 12]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mProduct Destroy (1.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 21ms (ActiveRecord: 7.6ms | Allocations: 6804)
Started GET “/products” for ::1 at 2022-01-30 18:59:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 2897)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1691) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.1ms | Allocations: 15242)
Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 1.9ms | Allocations: 15822)
Started GET “/products/2” for ::1 at 2022-01-30 18:59:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 17.9ms | Allocations: 10409)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 22652)
Completed 200 OK in 43ms (Views: 35.9ms | ActiveRecord: 2.5ms | Allocations: 24934)
Started DELETE “/products/2” for ::1 at 2022-01-30 18:59:37 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mProduct Destroy (1.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 18ms (ActiveRecord: 6.7ms | Allocations: 6074)
Started GET “/products” for ::1 at 2022-01-30 18:59:37 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 2532)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1690) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.8ms | Allocations: 14902)
Completed 200 OK in 24ms (Views: 20.4ms | ActiveRecord: 1.8ms | Allocations: 15483)
Started GET “/products/5” for ::1 at 2022-01-30 18:59:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (3.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 29.9ms | Allocations: 14210)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 47.2ms | Allocations: 25658)
Completed 200 OK in 55ms (Views: 41.7ms | ActiveRecord: 8.0ms | Allocations: 27939)
Started GET “/products/5/edit” for ::1 at 2022-01-30 18:59:42 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:32:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 18.1ms | Allocations: 12090)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 876) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 74.4ms | Allocations: 24472)
Completed 200 OK in 85ms (Views: 75.1ms | ActiveRecord: 2.0ms | Allocations: 27216)
Started GET “/products/5” for ::1 at 2022-01-30 19:00:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 29.5ms | Allocations: 13451)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 55.5ms | Allocations: 25662)
Completed 200 OK in 64ms (Views: 52.5ms | ActiveRecord: 5.7ms | Allocations: 27944)
Started DELETE “/reviews/34?product_id=5” for ::1 at 2022-01-30 19:00:13 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"5", "id"=>"34"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 34]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/5 Completed 302 Found in 13ms (ActiveRecord: 4.4ms | Allocations: 3964)
Started GET “/products/5” for ::1 at 2022-01-30 19:00:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 19.8ms | Allocations: 12762)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 24132)
Completed 200 OK in 41ms (Views: 32.3ms | ActiveRecord: 4.5ms | Allocations: 26411)
Started POST “/products/5/orders” for ::1 at 2022-01-30 19:00:18 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"2"}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 2], ["updated_at", "2022-01-31 00:00:18.886376"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (1.4ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 2], ["product_id", 5], ["created_at", "2022-01-31 00:00:18.892001"], ["updated_at", "2022-01-31 00:00:18.892001"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 22ms (ActiveRecord: 8.7ms | Allocations: 7477)
Started GET “/orders” for ::1 at 2022-01-30 19:00:18 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 4.0ms | Allocations: 1627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 19.9ms | Allocations: 13250)
Completed 200 OK in 24ms (Views: 18.6ms | ActiveRecord: 2.3ms | Allocations: 14923)
Started GET “/products” for ::1 at 2022-01-30 19:00:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.5ms | Allocations: 2533)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1691) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 15804)
Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 2.3ms | Allocations: 16388)
Started GET “/products/5” for ::1 at 2022-01-30 19:00:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 24.6ms | Allocations: 13513)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.9ms | Allocations: 25025)
Completed 200 OK in 46ms (Views: 36.9ms | ActiveRecord: 5.0ms | Allocations: 27307)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 19:03:19 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms | Allocations: 1916)
Started GET “/” for ::1 at 2022-01-30 19:03:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 838) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 16.0ms | Allocations: 11655)
Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms | Allocations: 12048)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:03:21 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.8ms | Allocations: 8690)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 21109)
Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms | Allocations: 21709)
Started GET “/products?query=e&commit=Search” for ::1 at 2022-01-30 19:03:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"e", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'e' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'e' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 758)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 819) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 19.4ms | Allocations: 12330)
Completed 200 OK in 23ms (Views: 18.5ms | ActiveRecord: 1.4ms | Allocations: 13298)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:03:25 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.8ms | Allocations: 8713)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 795) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 21107)
Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms | Allocations: 21706)
Started GET “/users/sign_up” for ::1 at 2022-01-30 19:03:26 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 114) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 18.2ms | Allocations: 14109)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 25749)
Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms | Allocations: 27705)
Started POST “/users” for ::1 at 2022-01-30 19:03:33 -0500 Processing by Devise::RegistrationsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"first_name"=>"", "last_name"=>"", "address"=>"", "phone"=>"", "email"=>"", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
Rendering layout layouts/application.html.erb
Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107)
Rendered devise/registrations/new.html.erb within layouts/application (Duration: 21.1ms | Allocations: 15938)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 27499)
Completed 200 OK in 41ms (Views: 37.0ms | ActiveRecord: 0.0ms | Allocations: 29955)
Started GET “/users” for ::1 at 2022-01-30 19:03:56 -0500
ActionController::RoutingError (No route matches [GET] “/users”):
Started GET “/users/sign_up” for ::1 at 2022-01-30 19:03:59 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 116) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 14.2ms | Allocations: 13818)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.6ms | Allocations: 25381)
Completed 200 OK in 46ms (Views: 29.4ms | ActiveRecord: 6.2ms | Allocations: 32179)
Started POST “/users” for ::1 at 2022-01-30 19:04:02 -0500 Processing by Devise::RegistrationsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"first_name"=>"", "last_name"=>"", "address"=>"", "phone"=>"", "email"=>"", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
Rendering layout layouts/application.html.erb
Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 107)
Rendered devise/registrations/new.html.erb within layouts/application (Duration: 26.1ms | Allocations: 21348)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.3ms | Allocations: 32909)
Completed 200 OK in 45ms (Views: 41.8ms | ActiveRecord: 0.0ms | Allocations: 35171)
Started GET “/products” for ::1 at 2022-01-30 19:04:07 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 22.5ms | Allocations: 7407)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 47.3ms | Allocations: 18973)
Completed 200 OK in 56ms (Views: 42.3ms | ActiveRecord: 8.1ms | Allocations: 21352)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 19:04:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 1810)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 13258)
Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 1.6ms | Allocations: 14251)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 19:04:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2529)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 796) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 20.3ms | Allocations: 14034)
Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 1.3ms | Allocations: 14609)
Started GET “/” for ::1 at 2022-01-30 19:04:21 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 838) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 12536)
Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.0ms | Allocations: 13107)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:11:48 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 164) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 30.9ms | Allocations: 8683)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 70.6ms | Allocations: 21045)
Completed 200 OK in 74ms (Views: 72.2ms | Allocations: 21885)
Started POST “/users/sign_in” for ::1 at 2022-01-30 19:11:54 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 241ms (ActiveRecord: 15.5ms | Allocations: 5904)
Started GET “/” for ::1 at 2022-01-30 19:11:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1926) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 12736)
Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.8ms | Allocations: 13132)
Started GET “/products” for ::1 at 2022-01-30 19:12:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 2586)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 49.4ms | Allocations: 15865)
Completed 200 OK in 52ms (Views: 46.1ms | ActiveRecord: 3.8ms | Allocations: 16449)
Started GET “/products” for ::1 at 2022-01-30 19:12:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.2ms | Allocations: 2529)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 14871)
Completed 200 OK in 26ms (Views: 22.3ms | ActiveRecord: 2.4ms | Allocations: 15454)
Started GET “/products/14” for ::1 at 2022-01-30 19:12:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 19.5ms | Allocations: 11195)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 22508)
Completed 200 OK in 73ms (Views: 33.4ms | ActiveRecord: 18.2ms | Allocations: 33347)
Started GET “/products/14” for ::1 at 2022-01-30 19:17:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 8.2ms | Allocations: 5701)
Rendered layout layouts/application.html.erb (Duration: 8.4ms | Allocations: 5765)
Completed 500 Internal Server Error in 21ms (ActiveRecord: 2.0ms | Allocations: 8815)
ActionView::Template::Error (undefined local variable or method `todo' for #<ActionView::Base:0x000000000bf1f8>):
18: <p class='product-stock'>Stock: <%= @product.stock %></p>
19: <p class='product-likes'><%= pluralize @product.likes, 'like' %>
20: <%= button_to "Like",
21: params: {:todo => { :id => todo.id, :completed => true,
22: :user_id => current_user.id }},
23: method: :put,
24: data: { confirm: "Mark this To-Do as being completed? This will hide it from view." } %>
app/views/products/show.html.erb:21 Started GET “/products/14” for ::1 at 2022-01-30 19:18:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.7ms | Allocations: 1743)
Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 1808)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.8ms | Allocations: 4858)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% if current_user.admin == true %>
<div class="product-edit-delete">
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
<div class='product-show-card'>
<%= image_tag('coca_cola', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %>
<%= button_to "Like",
params: {:likes => @product.like }},
method: :put,
data: { confirm: "Mark this To-Do as being completed? This will hide it from view." } %>
</p>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
</div>
<% end %>
</div>
): 1: <% if current_user.admin == true %> 2: <div class=“product-edit-delete”> 3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 4: <%= button_to “Remove product”, {:controller => :products, 5: :action => 'destroy', :id => @product.id }, :method => :delete, 6: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 7: </div> 8: <% end %> 9:
10: <div class='product-show-card'> 11: <%= image_tag('coca_cola', class: 'product-show-image') %> 12: <div class='product-details'> 13: <p class='product-name'><%= @product.name %></p> 14: <p class='product-description'>Description: <%= @product.description %></p> 15: <p class='product-price'>Price: $ <%= @product.price %></p> 16: <hr> 17: <div class='product-stock-likes'> 18: <p class='product-stock'>Stock: <%= @product.stock %></p> 19: <p class='product-likes'><%= pluralize @product.likes, 'like' %> 20: <%= button_to “Like”,
21: params: {:likes => @product.like }}, 22: method: :put, 23: data: { confirm: “Mark this To-Do as being completed? This will hide it from view.” } %> 24: </p> 25: </div> 26: <hr> 27: <div class='order-buy-form'> 28: <%= simple_form_for([ @product, @order ]) do |f| %> 29: <%= f.input :quantity, input_html: { value: 1 } %> 30: <div class='text-right mt-5'> 31: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 32: </div> 33: <% end %> 34: </div> 35: </div> 36: </div> 37:
38: <div class='reviews-show'> 39: <% if @product.reviews.blank? %> 40: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 41: <% else %> 42: <h2>Reviews</h2> 43: <% @product.reviews.order('created_at DESC').each do |review| %> 44: <div class=“card”> 45: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 46: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 47: <span class='text-muted', style='font-size: 15px'> 48: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 49: </span> 50: </h5> 51: <div class=“card-body”> 52: <% if current_user.admin == true %> 53: <%= link_to “Remove”, 54: review_path(review, :product_id => review.product), 55: method: :delete, 56: class: 'product-remove', 57: data: { confirm: “Are you sure?” } %> 58: <% end %> 59: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 60: <p class=“card-text”><p><%= review.content %></p></p> 61: </div> 62: </div> 63: <% end %> 64: <% end %> 65: </div> 66:
67: <hr> 68: <div class='review-form'> 69: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 70: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 71: <%= f.input :title %> 72: <%= f.input :content, as: :text %> 73: <div class='text-right mt-5'> 74: <%= f.button :submit, class: 'btn btn-outline-primary' %> 75: </div> 76: <% end %> 77: </div>
app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:21: syntax error, unexpected '}', expecting ')' app/views/products/show.html.erb:23: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:29: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:33: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:43: syntax error, unexpected `do' for block, expecting `end' app/views/products/show.html.erb:57: syntax error, unexpected '}', expecting '}' app/views/products/show.html.erb:58: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:63: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:70: syntax error, unexpected `do' for block, expecting ')' app/views/products/show.html.erb:76: syntax error, unexpected `end', expecting ')' app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting ')' Started GET “/products/14” for ::1 at 2022-01-30 19:18:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 5.9ms | Allocations: 4940)
Rendered layout layouts/application.html.erb (Duration: 6.2ms | Allocations: 5004)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.8ms | Allocations: 8053)
ActionView::Template::Error (undefined method `like' for #<Product:0x00007fb80fb67398> Did you mean? likes):
18: <p class='product-stock'>Stock: <%= @product.stock %></p>
19: <p class='product-likes'><%= pluralize @product.likes, 'like' %>
20: <%= button_to "Like",
21: params: { :likes => @product.like },
22: method: :put,
23: data: { confirm: "Mark this To-Do as being completed? This will hide it from view." } %>
24: </p>
app/views/products/show.html.erb:21 Started PUT “/__web_console/repl_sessions/5ff3925cdb69f5100dece95404eab8b2” for ::1 at 2022-01-30 19:19:01 -0500 Started PUT “/__web_console/repl_sessions/5ff3925cdb69f5100dece95404eab8b2” for ::1 at 2022-01-30 19:19:02 -0500 Started PUT “/__web_console/repl_sessions/5ff3925cdb69f5100dece95404eab8b2” for ::1 at 2022-01-30 19:19:04 -0500 Started GET “/products/14” for ::1 at 2022-01-30 19:21:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 37.7ms | Allocations: 16790)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 1.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 79.1ms | Allocations: 29198)
Completed 200 OK in 91ms (Views: 81.8ms | ActiveRecord: 2.9ms | Allocations: 32275)
Started GET “/products/14” for ::1 at 2022-01-30 19:23:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 42.7ms | Allocations: 13318)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1191) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 107.2ms | Allocations: 25672)
Completed 200 OK in 120ms (Views: 107.7ms | ActiveRecord: 4.4ms | Allocations: 28745)
Started GET “/products/14” for ::1 at 2022-01-30 19:24:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.7ms | Allocations: 11196)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1186) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 23544)
Completed 200 OK in 50ms (Views: 41.3ms | ActiveRecord: 3.0ms | Allocations: 26622)
Started GET “/products/14” for ::1 at 2022-01-30 19:24:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 10393)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 21712)
Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 2.4ms | Allocations: 23992)
Started GET “/products/14” for ::1 at 2022-01-30 19:25:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 15.1ms | Allocations: 11180)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 33.1ms | Allocations: 23530)
Completed 200 OK in 42ms (Views: 34.4ms | ActiveRecord: 2.4ms | Allocations: 26602)
Started GET “/products/14” for ::1 at 2022-01-30 19:26:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 15.9ms | Allocations: 11208)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 1193) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1580.5ms | Allocations: 105134)
Completed 200 OK in 1590ms (Views: 1581.8ms | ActiveRecord: 2.6ms | Allocations: 108212)
Started GET “/products/14” for ::1 at 2022-01-30 19:26:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 17.7ms | Allocations: 10420)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.5ms | Allocations: 21739)
Completed 200 OK in 49ms (Views: 39.0ms | ActiveRecord: 4.4ms | Allocations: 24018)
Started GET “/products/14” for ::1 at 2022-01-30 19:26:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 15.8ms | Allocations: 11193)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 23539)
Completed 200 OK in 44ms (Views: 36.5ms | ActiveRecord: 2.5ms | Allocations: 26617)
Started GET “/products/14” for ::1 at 2022-01-30 19:27:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 11194)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1191) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 42.1ms | Allocations: 23548)
Completed 200 OK in 51ms (Views: 43.1ms | ActiveRecord: 2.6ms | Allocations: 26621)
Started GET “/products/14” for ::1 at 2022-01-30 19:27:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.0ms | Allocations: 11199)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 23604)
Completed 200 OK in 41ms (Views: 32.7ms | ActiveRecord: 2.6ms | Allocations: 26682)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:08 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 2.1ms | Allocations: 2892)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:10 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 9ms (ActiveRecord: 2.7ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:12 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.8ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:21 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 14ms (ActiveRecord: 2.5ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:37 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 2.3ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:38 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.6ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:40 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.6ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:42 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 2.0ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:44 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.5ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:28:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 15.0ms | Allocations: 10430)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 766) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1305.8ms | Allocations: 103288)
Completed 200 OK in 1313ms (Views: 1305.8ms | ActiveRecord: 2.6ms | Allocations: 105566)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:52 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.8ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:28:57 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.4ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:29:13 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.7ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:31:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 10408)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 169082206b7bab2a2e4f
Version: webpack 4.46.0 Time: 1252ms Built at: 01/30/2022 7:31:23 PM
Asset Size Chunks Chunk Names js/application-c2db234794825f86b181.js 612 KiB application [emitted] [immutable] application
js/application-c2db234794825f86b181.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-c2db234794825f86b181.js js/application-c2db234794825f86b181.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1020 bytes {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 3612.2ms | Allocations: 23051)
Completed 200 OK in 3620ms (Views: 3611.8ms | ActiveRecord: 2.5ms | Allocations: 25328)
Started GET “/products/14” for ::1 at 2022-01-30 19:31:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (7.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 10381)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: ddcc64f9311c14ff41ee
Version: webpack 4.46.0 Time: 854ms Built at: 01/30/2022 7:31:37 PM
Asset Size Chunks Chunk Names js/application-32f2ad76b6f56b28e832.js 612 KiB application [emitted] [immutable] application
js/application-32f2ad76b6f56b28e832.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-32f2ad76b6f56b28e832.js js/application-32f2ad76b6f56b28e832.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.01 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 2205.9ms | Allocations: 22938)
Completed 200 OK in 2221ms (Views: 2205.7ms | ActiveRecord: 9.1ms | Allocations: 25217)
Started GET “/products/14” for ::1 at 2022-01-30 19:37:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 23.4ms | Allocations: 11192)
- Webpacker
-
Compiling…
Started PATCH “/products/14” for ::1 at 2022-01-30 19:37:53 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 29ms (ActiveRecord: 14.6ms | Allocations: 6189)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:37:54 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 2.2ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update'
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 4a377d8660d9eeeeef5a
Version: webpack 4.46.0 Time: 1200ms Built at: 01/30/2022 7:37:55 PM
Asset Size Chunks Chunk Names js/application-018f9c2351e32eb1d14f.js 612 KiB application [emitted] [immutable] application
js/application-018f9c2351e32eb1d14f.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-018f9c2351e32eb1d14f.js js/application-018f9c2351e32eb1d14f.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.19 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1190) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 3508.1ms | Allocations: 219229)
Completed 200 OK in 3543ms (Views: 3511.0ms | ActiveRecord: 17.8ms | Allocations: 225661)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:37:57 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.6ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:38:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.3ms | Allocations: 10418)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 9c6ecd5aac0c9e8bb853
Version: webpack 4.46.0 Time: 867ms Built at: 01/30/2022 7:38:08 PM
Asset Size Chunks Chunk Names js/application-05b35851eca1e36b32d8.js 612 KiB application [emitted] [immutable] application
js/application-05b35851eca1e36b32d8.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-05b35851eca1e36b32d8.js js/application-05b35851eca1e36b32d8.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.19 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 2183.2ms | Allocations: 23039)
Completed 200 OK in 2190ms (Views: 2182.7ms | ActiveRecord: 2.7ms | Allocations: 25317)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:09 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.8ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:21 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.8ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:26 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.8ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:26 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.4ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:27 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.7ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:27 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.6ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:38:29 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.9ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:40:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 14.5ms | Allocations: 10408)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 1a0264f344db4b97e8df
Version: webpack 4.46.0 Time: 1231ms Built at: 01/30/2022 7:40:41 PM
Asset Size Chunks Chunk Names js/application-358408eca6917afb5627.js 613 KiB application [emitted] [immutable] application
js/application-358408eca6917afb5627.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-358408eca6917afb5627.js js/application-358408eca6917afb5627.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.54 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 3408.6ms | Allocations: 23022)
Completed 200 OK in 3416ms (Views: 3408.4ms | ActiveRecord: 2.7ms | Allocations: 25299)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:40:42 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.8ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:40:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 16.7ms | Allocations: 10398)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 018580fb5be82ca56013
Version: webpack 4.46.0 Time: 882ms Built at: 01/30/2022 7:40:54 PM
Asset Size Chunks Chunk Names js/application-d5c113e6b7eda9fa6bcd.js 612 KiB application [emitted] [immutable] application
js/application-d5c113e6b7eda9fa6bcd.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-d5c113e6b7eda9fa6bcd.js js/application-d5c113e6b7eda9fa6bcd.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.41 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 2222.3ms | Allocations: 23009)
Completed 200 OK in 2230ms (Views: 2221.6ms | ActiveRecord: 3.0ms | Allocations: 25286)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:40:55 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.5ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:40:57 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.9ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:40:57 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.5ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:41:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 13.3ms | Allocations: 10399)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: 7d1828848f37ff8e0734
Version: webpack 4.46.0 Time: 878ms Built at: 01/30/2022 7:41:40 PM
Asset Size Chunks Chunk Names js/application-d5d380a8fc685853e5a6.js 612 KiB application [emitted] [immutable] application
js/application-d5d380a8fc685853e5a6.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-d5d380a8fc685853e5a6.js js/application-d5d380a8fc685853e5a6.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.4 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 2254.0ms | Allocations: 23011)
Completed 200 OK in 2260ms (Views: 2253.4ms | ActiveRecord: 2.5ms | Allocations: 25289)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:41 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.6ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:43 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 9ms (ActiveRecord: 2.4ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:44 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.8ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:41:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 10409)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.4ms | Allocations: 21779)
Completed 200 OK in 35ms (Views: 29.0ms | ActiveRecord: 2.3ms | Allocations: 24057)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:47 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.7ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:49 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.8ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:50 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.5ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:51 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.9ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:52 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 1.9ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:53 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 8ms (ActiveRecord: 2.0ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:54 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 1.7ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:54 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.5ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:55 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 6ms (ActiveRecord: 1.4ms | Allocations: 2888)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:41:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 13.4ms | Allocations: 10408)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 21778)
Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 2.4ms | Allocations: 24055)
Started PATCH “/products/14” for ::1 at 2022-01-30 19:41:59 -0500 Processing by ProductsController#update as JS
Parameters: {"commit"=>"Like", "id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `update'
Completed 400 Bad Request in 7ms (ActiveRecord: 2.0ms | Allocations: 2889)
ActionController::ParameterMissing (param is missing or the value is empty: product Did you mean? id
commit controller action):
app/controllers/products_controller.rb:57:in `product_params' app/controllers/products_controller.rb:37:in `update' Started GET “/products/14” for ::1 at 2022-01-30 19:43:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 10936)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1185) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 23284)
Completed 200 OK in 49ms (Views: 41.9ms | ActiveRecord: 2.6ms | Allocations: 26361)
Started GET “/products/14” for ::1 at 2022-01-30 19:43:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 10217)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 21536)
Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 2.4ms | Allocations: 23816)
Started GET “/products/14” for ::1 at 2022-01-30 19:43:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 10206)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/ruby_rails_trainee/week4/rails-store-app/public/packs
- Webpacker
-
Hash: d87a9d955c09caba7404
Version: webpack 4.46.0 Time: 1265ms Built at: 01/30/2022 7:43:44 PM
Asset Size Chunks Chunk Names js/application-ec0c530be506b36f10f7.js 612 KiB application [emitted] [immutable] application
js/application-ec0c530be506b36f10f7.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-ec0c530be506b36f10f7.js js/application-ec0c530be506b36f10f7.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.4 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 3680.8ms | Allocations: 22764)
Completed 200 OK in 3688ms (Views: 3680.4ms | ActiveRecord: 2.8ms | Allocations: 25042)
Started GET “/products” for ::1 at 2022-01-30 19:44:02 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 2793)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1697) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 45.8ms | Allocations: 16035)
Completed 200 OK in 50ms (Views: 43.6ms | ActiveRecord: 2.9ms | Allocations: 16744)
Started GET “/orders” for ::1 at 2022-01-30 19:44:04 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.9ms | Allocations: 2827)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 14300)
Completed 200 OK in 36ms (Views: 26.0ms | ActiveRecord: 4.3ms | Allocations: 17412)
Started GET “/products” for ::1 at 2022-01-30 19:44:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.9ms | Allocations: 2537)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1696) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 15765)
Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 2.3ms | Allocations: 16349)
Started GET “/orders” for ::1 at 2022-01-30 19:44:07 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1623)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 791) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 14050)
Completed 200 OK in 37ms (Views: 29.3ms | ActiveRecord: 3.6ms | Allocations: 15725)
Started GET “/” for ::1 at 2022-01-30 19:44:15 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.8ms | Allocations: 107)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1925) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 27.3ms | Allocations: 13666)
Completed 200 OK in 31ms (Views: 28.5ms | ActiveRecord: 0.9ms | Allocations: 14636)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 19:44:17 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms | Allocations: 2046)
Started GET “/” for ::1 at 2022-01-30 19:44:17 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 828) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.1ms | Allocations: 11639)
Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms | Allocations: 12031)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:44:18 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 565) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.1ms | Allocations: 10195)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 21789)
Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms | Allocations: 23307)
Started POST “/users/sign_in” for ::1 at 2022-01-30 19:44:22 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 223ms (ActiveRecord: 1.2ms | Allocations: 3454)
Started GET “/” for ::1 at 2022-01-30 19:44:22 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1924) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 12739)
Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.8ms | Allocations: 13134)
Started GET “/products” for ::1 at 2022-01-30 19:44:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2535)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 28.6ms | Allocations: 15767)
Completed 200 OK in 31ms (Views: 26.8ms | ActiveRecord: 2.3ms | Allocations: 16351)
Started GET “/products/new” for ::1 at 2022-01-30 19:44:32 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 19.8ms | Allocations: 12254)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.5ms | Allocations: 1911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 45.5ms | Allocations: 25706)
Completed 200 OK in 47ms (Views: 44.7ms | ActiveRecord: 1.3ms | Allocations: 26238)
Started GET “/products/14” for ::1 at 2022-01-30 19:44:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 19.3ms | Allocations: 11666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 23147)
Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 3.0ms | Allocations: 25430)
Started DELETE “/products/14” for ::1 at 2022-01-30 19:44:40 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:45:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mProduct Destroy (1.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 14]]
↳ app/controllers/products_controller.rb:46:in `destroy'
[1m[36mTRANSACTION (2.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:46:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 23ms (ActiveRecord: 9.2ms | Allocations: 6805)
Started GET “/products” for ::1 at 2022-01-30 19:44:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2165)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.5ms | Allocations: 14507)
Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 3.5ms | Allocations: 15087)
Started GET “/products/11” for ::1 at 2022-01-30 19:44:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 18.8ms | Allocations: 11177)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 22637)
Completed 200 OK in 51ms (Views: 42.7ms | ActiveRecord: 3.1ms | Allocations: 24919)
Started GET “/products/11/edit” for ::1 at 2022-01-30 19:44:48 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:32:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.4ms | Allocations: 12068)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 797) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 24449)
Completed 200 OK in 43ms (Views: 36.5ms | ActiveRecord: 1.5ms | Allocations: 27193)
Started GET “/products/11” for ::1 at 2022-01-30 19:44:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 22.7ms | Allocations: 11133)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 759) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 22589)
Completed 200 OK in 50ms (Views: 40.7ms | ActiveRecord: 3.8ms | Allocations: 24871)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 19:45:03 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 1914)
Started GET “/” for ::1 at 2022-01-30 19:45:03 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 836) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 16.9ms | Allocations: 11652)
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms | Allocations: 12044)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:45:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.2ms | Allocations: 8717)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.2ms | Allocations: 21059)
Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.0ms | Allocations: 21658)
Started POST “/users/sign_in” for ::1 at 2022-01-30 19:45:11 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 213ms (ActiveRecord: 1.0ms | Allocations: 2474)
Started GET “/” for ::1 at 2022-01-30 19:45:11 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1916) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 17.4ms | Allocations: 12726)
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.8ms | Allocations: 13121)
Started GET “/products” for ::1 at 2022-01-30 19:45:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2166)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 15379)
Completed 200 OK in 30ms (Views: 25.3ms | ActiveRecord: 2.4ms | Allocations: 15963)
Started GET “/products/5” for ::1 at 2022-01-30 19:45:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 25.2ms | Allocations: 14382)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 25836)
Completed 200 OK in 49ms (Views: 39.8ms | ActiveRecord: 5.0ms | Allocations: 28117)
Started POST “/products/5/orders” for ::1 at 2022-01-30 19:45:24 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.6ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 1], ["updated_at", "2022-01-31 00:45:24.125943"], ["id", 5]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (2.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 5], ["created_at", "2022-01-31 00:45:24.131775"], ["updated_at", "2022-01-31 00:45:24.131775"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 24ms (ActiveRecord: 10.1ms | Allocations: 8244)
Started GET “/orders” for ::1 at 2022-01-30 19:45:24 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 2283)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 13846)
Completed 200 OK in 25ms (Views: 19.4ms | ActiveRecord: 2.8ms | Allocations: 15519)
Started GET “/products” for ::1 at 2022-01-30 19:45:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.0ms | Allocations: 2163)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 15380)
Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 2.1ms | Allocations: 15964)
Started GET “/products/11” for ::1 at 2022-01-30 19:45:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 10977)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 22400)
Completed 200 OK in 42ms (Views: 32.3ms | ActiveRecord: 4.1ms | Allocations: 24681)
Started POST “/products/11/orders” for ::1 at 2022-01-30 19:45:37 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"11"}
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (6.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (2.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (2.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-UIO"], ["id", 11], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.8ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 13], ["updated_at", "2022-01-31 00:45:37.544286"], ["id", 11]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (19.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (5.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (2.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 11], ["created_at", "2022-01-31 00:45:37.569184"], ["updated_at", "2022-01-31 00:45:37.569184"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 109ms (ActiveRecord: 44.9ms | Allocations: 7469)
Started GET “/orders” for ::1 at 2022-01-30 19:45:37 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 3191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.1ms | Allocations: 14799)
Completed 200 OK in 38ms (Views: 31.0ms | ActiveRecord: 4.3ms | Allocations: 16471)
Started GET “/products” for ::1 at 2022-01-30 19:45:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2165)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1689) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.4ms | Allocations: 15389)
Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 2.2ms | Allocations: 15972)
Started GET “/products/11” for ::1 at 2022-01-30 19:45:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 10226)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 22475)
Completed 200 OK in 42ms (Views: 35.3ms | ActiveRecord: 3.0ms | Allocations: 24757)
Started GET “/orders” for ::1 at 2022-01-30 19:45:48 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.2ms | Allocations: 3191)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 15610)
Completed 200 OK in 39ms (Views: 28.8ms | ActiveRecord: 6.1ms | Allocations: 17284)
Started GET “/products” for ::1 at 2022-01-30 19:45:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2163)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.4ms | Allocations: 14505)
Completed 200 OK in 32ms (Views: 27.6ms | ActiveRecord: 2.3ms | Allocations: 15088)
Started GET “/products/11” for ::1 at 2022-01-30 19:45:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 10973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 22401)
Completed 200 OK in 44ms (Views: 33.1ms | ActiveRecord: 5.0ms | Allocations: 24682)
Started GET “/products/11” for ::1 at 2022-01-30 19:46:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 10206)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.1ms | Allocations: 21518)
Completed 200 OK in 37ms (Views: 29.6ms | ActiveRecord: 2.7ms | Allocations: 23796)
Started GET “/products/11” for ::1 at 2022-01-30 19:46:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.7ms | Allocations: 10208)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.7ms | Allocations: 21520)
Completed 200 OK in 37ms (Views: 29.4ms | ActiveRecord: 2.7ms | Allocations: 23799)
Started GET “/products” for ::1 at 2022-01-30 19:46:16 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 2165)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1797) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.3ms | Allocations: 15384)
Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 2.4ms | Allocations: 15967)
Started GET “/products/11” for ::1 at 2022-01-30 19:46:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 10925)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.8ms | Allocations: 22378)
Completed 200 OK in 51ms (Views: 39.7ms | ActiveRecord: 5.6ms | Allocations: 24660)
Started GET “/products” for ::1 at 2022-01-30 19:46:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.6ms | Allocations: 2163)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.8ms | Allocations: 2402) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 31.6ms | Allocations: 15250)
Completed 200 OK in 34ms (Views: 29.3ms | ActiveRecord: 2.8ms | Allocations: 15836)
Started GET “/products/13” for ::1 at 2022-01-30 19:46:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 22.9ms | Allocations: 12609)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 45.9ms | Allocations: 24023)
Completed 200 OK in 55ms (Views: 42.1ms | ActiveRecord: 6.6ms | Allocations: 26305)
Started GET “/products/13” for ::1 at 2022-01-30 19:46:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 18.3ms | Allocations: 11843)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 760) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 23212)
Completed 200 OK in 39ms (Views: 30.9ms | ActiveRecord: 4.2ms | Allocations: 25491)
Started GET “/products/13” for ::1 at 2022-01-30 19:46:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 19.0ms | Allocations: 11832)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 23167)
Completed 200 OK in 40ms (Views: 30.6ms | ActiveRecord: 4.4ms | Allocations: 25446)
Started GET “/products?query=&commit=Search” for ::1 at 2022-01-30 19:47:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2165)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1690) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 14509)
Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 1.9ms | Allocations: 15087)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 19:47:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.2ms | Allocations: 1443)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1688) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 13785)
Completed 200 OK in 28ms (Views: 21.3ms | ActiveRecord: 3.5ms | Allocations: 14758)
Started GET “/products” for ::1 at 2022-01-30 19:47:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2163)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2428) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.4ms | Allocations: 15255)
Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 2.5ms | Allocations: 15857)
Started GET “/products/5” for ::1 at 2022-01-30 19:47:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 5]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 25.8ms | Allocations: 13297)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 757) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 24609)
Completed 200 OK in 50ms (Views: 37.2ms | ActiveRecord: 6.8ms | Allocations: 26890)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 19:47:53 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 1916)
Started GET “/” for ::1 at 2022-01-30 19:47:53 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 827) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 16.5ms | Allocations: 11638)
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms | Allocations: 12029)
Started GET “/products?query=p&commit=Search” for ::1 at 2022-01-30 19:47:55 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"p", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'p' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1444)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 794) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 12892)
Completed 200 OK in 24ms (Views: 19.8ms | ActiveRecord: 1.7ms | Allocations: 13861)
Started GET “/products/5” for ::1 at 2022-01-30 19:47:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"5"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:47:57 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.7ms | Allocations: 8701)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 792) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 20313)
Completed 200 OK in 29ms (Views: 28.7ms | ActiveRecord: 0.0ms | Allocations: 20930)
Started GET “/products” for ::1 at 2022-01-30 19:47:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 5.5ms | Allocations: 2166)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 14481)
Completed 200 OK in 28ms (Views: 24.8ms | ActiveRecord: 1.5ms | Allocations: 15063)
Started GET “/products/new” for ::1 at 2022-01-30 19:48:00 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 15.9ms | Allocations: 11747)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 818) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 24095)
Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms | Allocations: 24506)
Started GET “/products” for ::1 at 2022-01-30 19:48:02 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.2ms | Allocations: 2166)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 796) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 14529)
Completed 200 OK in 44ms (Views: 33.1ms | ActiveRecord: 1.8ms | Allocations: 15111)
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8683-JWK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8683-JWK"], ["name", "Enormous Leather Table"], ["description", "Automotive & Computers"], ["price", 48.0], ["stock", 31], ["created_at", "2022-01-31 00:59:08.317819"], ["updated_at", "2022-01-31 00:59:08.317819"]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2046-NFW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3862-CBW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1002-NHO"], ["LIMIT", 1]]
[1m[36mProduct Create (1.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1002-NHO"], ["name", "Synergistic Rubber Table"], ["description", "Books, Clothing & Games"], ["price", 78.0], ["stock", 50], ["created_at", "2022-01-31 00:59:08.331376"], ["updated_at", "2022-01-31 00:59:08.331376"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9831-OAG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9831-OAG"], ["name", "Small Marble Hat"], ["description", "Industrial & Outdoors"], ["price", 13.0], ["stock", 37], ["created_at", "2022-01-31 00:59:08.337821"], ["updated_at", "2022-01-31 00:59:08.337821"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7054-HEA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7054-HEA"], ["name", "Heavy Duty Steel Watch"], ["description", "Health & Kids"], ["price", 74.0], ["stock", 35], ["created_at", "2022-01-31 00:59:08.342128"], ["updated_at", "2022-01-31 00:59:08.342128"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4122-WCO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4122-WCO"], ["name", "Mediocre Marble Lamp"], ["description", "Electronics, Industrial & Music"], ["price", 87.0], ["stock", 37], ["created_at", "2022-01-31 00:59:08.347291"], ["updated_at", "2022-01-31 00:59:08.347291"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1374-JGI"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1225-SYR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1225-SYR"], ["name", "Enormous Marble Coat"], ["description", "Toys & Books"], ["price", 72.0], ["stock", 13], ["created_at", "2022-01-31 00:59:08.355161"], ["updated_at", "2022-01-31 00:59:08.355161"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3096-UPT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3096-UPT"], ["name", "Intelligent Granite Pants"], ["description", "Games, Industrial & Kids"], ["price", 68.0], ["stock", 44], ["created_at", "2022-01-31 00:59:08.360692"], ["updated_at", "2022-01-31 00:59:08.360692"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1278-KJK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1278-KJK"], ["name", "Ergonomic Granite Watch"], ["description", "Games & Shoes"], ["price", 96.0], ["stock", 49], ["created_at", "2022-01-31 00:59:08.365376"], ["updated_at", "2022-01-31 00:59:08.365376"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1848-AYM"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9092-DKZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9092-DKZ"], ["name", "Lightweight Cotton Bottle"], ["description", "Kids & Baby"], ["price", 86.0], ["stock", 20], ["created_at", "2022-01-31 00:59:08.373170"], ["updated_at", "2022-01-31 00:59:08.373170"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4188-EZL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4188-EZL"], ["name", "Intelligent Cotton Bench"], ["description", "Sports, Beauty & Kids"], ["price", 11.0], ["stock", 14], ["created_at", "2022-01-31 00:59:08.377699"], ["updated_at", "2022-01-31 00:59:08.377699"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4789-GCQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4789-GCQ"], ["name", "Intelligent Concrete Bench"], ["description", "Sports & Garden"], ["price", 94.0], ["stock", 44], ["created_at", "2022-01-31 00:59:08.383694"], ["updated_at", "2022-01-31 00:59:08.383694"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3083-XME"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3083-XME"], ["name", "Incredible Concrete Gloves"], ["description", "Garden & Baby"], ["price", 90.0], ["stock", 39], ["created_at", "2022-01-31 00:59:08.388223"], ["updated_at", "2022-01-31 00:59:08.388223"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3284-NSV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3284-NSV"], ["name", "Awesome Wooden Bag"], ["description", "Shoes, Sports & Baby"], ["price", 23.0], ["stock", 17], ["created_at", "2022-01-31 00:59:08.393421"], ["updated_at", "2022-01-31 00:59:08.393421"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2118-DZA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2118-DZA"], ["name", "Awesome Leather Lamp"], ["description", "Movies & Garden"], ["price", 87.0], ["stock", 37], ["created_at", "2022-01-31 00:59:08.398169"], ["updated_at", "2022-01-31 00:59:08.398169"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9739-BUQ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5928-CYY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5928-CYY"], ["name", "Lightweight Iron Bag"], ["description", "Electronics, Music & Kids"], ["price", 86.0], ["stock", 27], ["created_at", "2022-01-31 00:59:08.407691"], ["updated_at", "2022-01-31 00:59:08.407691"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-01-30 19:59:21 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 313.9ms | Allocations: 58433)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.9ms | Allocations: 1278) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 208) Rendered layout layouts/application.html.erb (Duration: 349.9ms | Allocations: 71046)
Completed 200 OK in 371ms (Views: 345.4ms | ActiveRecord: 8.1ms | Allocations: 76031)
Started GET “/products/28” for ::1 at 2022-01-30 19:59:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"28"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 232)
Started GET “/users/sign_in” for ::1 at 2022-01-30 19:59:39 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.9ms | Allocations: 606) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 37.5ms | Allocations: 15499)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 27068)
Completed 200 OK in 69ms (Views: 54.7ms | ActiveRecord: 4.7ms | Allocations: 35173)
Started GET “/products” for ::1 at 2022-01-30 19:59:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.3ms | Allocations: 7663)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 798) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 19122)
Completed 200 OK in 36ms (Views: 32.8ms | ActiveRecord: 1.3ms | Allocations: 19715)
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 13]]
[1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
[1m[36mReview Destroy (0.5ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 37]]
[1m[36mProduct Destroy (0.9ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 13]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mOrder Destroy (0.4ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 26]]
[1m[36mOrder Destroy (0.3ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 27]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Destroy (0.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 35]]
[1m[36mReview Destroy (0.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 36]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 11]]
[1m[36mOrder Destroy (0.3ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 28]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 11]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 15]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 15]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 16]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 16]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 17]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 17]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 18]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 18]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 19]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 19]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 19]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 20]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 20]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 20]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 21]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 21]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 22]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 22]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 22]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 23]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 23]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 24]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 24]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 24]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 25]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 25]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 25]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 26]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 26]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 26]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 27]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 27]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 27]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 28]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 28]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 29]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 29]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1919-LII"], ["LIMIT", 1]]
[1m[36mProduct Create (0.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1919-LII"], ["name", "Gorgeous Wool Bottle"], ["description", "Music & Beauty"], ["price", 15.0], ["stock", 34], ["created_at", "2022-01-31 01:00:56.856660"], ["updated_at", "2022-01-31 01:00:56.856660"]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3781-AOR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3781-AOR"], ["name", "Fantastic Paper Computer"], ["description", "Baby & Computers"], ["price", 13.0], ["stock", 41], ["created_at", "2022-01-31 01:00:56.862809"], ["updated_at", "2022-01-31 01:00:56.862809"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5506-SPW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6022-VWI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6022-VWI"], ["name", "Gorgeous Paper Computer"], ["description", "Automotive"], ["price", 5.0], ["stock", 45], ["created_at", "2022-01-31 01:00:56.871908"], ["updated_at", "2022-01-31 01:00:56.871908"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2897-LVW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2897-LVW"], ["name", "Small Silk Coat"], ["description", "Electronics"], ["price", 9.0], ["stock", 29], ["created_at", "2022-01-31 01:00:56.877509"], ["updated_at", "2022-01-31 01:00:56.877509"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6816-FDM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6816-FDM"], ["name", "Lightweight Wooden Lamp"], ["description", "Outdoors, Home & Music"], ["price", 9.0], ["stock", 30], ["created_at", "2022-01-31 01:00:56.882668"], ["updated_at", "2022-01-31 01:00:56.882668"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9555-UOO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9555-UOO"], ["name", "Enormous Paper Lamp"], ["description", "Automotive, Garden & Outdoors"], ["price", 2.0], ["stock", 13], ["created_at", "2022-01-31 01:00:56.887912"], ["updated_at", "2022-01-31 01:00:56.887912"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7309-TUD"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8986-DZG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8986-DZG"], ["name", "Rustic Wooden Shirt"], ["description", "Home & Grocery"], ["price", 3.0], ["stock", 27], ["created_at", "2022-01-31 01:00:56.896761"], ["updated_at", "2022-01-31 01:00:56.896761"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1428-BWX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1428-BWX"], ["name", "Heavy Duty Silk Bag"], ["description", "Beauty, Computers & Electronics"], ["price", 5.0], ["stock", 33], ["created_at", "2022-01-31 01:00:56.902188"], ["updated_at", "2022-01-31 01:00:56.902188"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4021-JKT"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5623-FNV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5623-FNV"], ["name", "Aerodynamic Granite Watch"], ["description", "Baby & Shoes"], ["price", 9.0], ["stock", 42], ["created_at", "2022-01-31 01:00:56.911195"], ["updated_at", "2022-01-31 01:00:56.911195"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4016-CWR"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1625-PFL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1625-PFL"], ["name", "Ergonomic Iron Clock"], ["description", "Garden, Kids & Tools"], ["price", 8.0], ["stock", 14], ["created_at", "2022-01-31 01:00:56.919161"], ["updated_at", "2022-01-31 01:00:56.919161"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3546-QMC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3546-QMC"], ["name", "Awesome Granite Pants"], ["description", "Kids, Automotive & Outdoors"], ["price", 8.0], ["stock", 16], ["created_at", "2022-01-31 01:00:56.924685"], ["updated_at", "2022-01-31 01:00:56.924685"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2801-AIU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2801-AIU"], ["name", "Mediocre Aluminum Car"], ["description", "Electronics"], ["price", 5.0], ["stock", 39], ["created_at", "2022-01-31 01:00:56.929470"], ["updated_at", "2022-01-31 01:00:56.929470"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9087-DBN"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4393-ZWU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4393-ZWU"], ["name", "Gorgeous Copper Bag"], ["description", "Baby & Electronics"], ["price", 9.0], ["stock", 27], ["created_at", "2022-01-31 01:00:56.937345"], ["updated_at", "2022-01-31 01:00:56.937345"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7002-QEJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7002-QEJ"], ["name", "Lightweight Bronze Bench"], ["description", "Industrial & Clothing"], ["price", 14.0], ["stock", 30], ["created_at", "2022-01-31 01:00:56.941727"], ["updated_at", "2022-01-31 01:00:56.941727"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2409-UTJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2409-UTJ"], ["name", "Incredible Aluminum Bottle"], ["description", "Music & Automotive"], ["price", 15.0], ["stock", 39], ["created_at", "2022-01-31 01:00:56.947614"], ["updated_at", "2022-01-31 01:00:56.947614"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-01-30 20:00:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.7ms | Allocations: 6558)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 18007)
Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 1.5ms | Allocations: 18595)
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 37]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 37]]
[1m[36mProduct Destroy (0.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 37]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 38]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 38]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 38]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 39]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 39]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 39]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 40]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 40]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 40]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 41]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 41]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 41]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 42]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 42]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 42]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 43]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 43]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 43]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 44]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 44]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 44]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 30]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 30]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 31]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 31]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 31]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 32]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 32]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 32]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 33]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 33]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 33]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 34]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 34]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 34]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 35]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 35]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 35]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 36]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 36]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 36]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2928-ATW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7380-CQI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7380-CQI"], ["name", "Gorgeous Plastic Knife"], ["description", "Clothing, Baby & Books"], ["price", 8.0], ["stock", 16], ["created_at", "2022-01-31 01:01:19.010397"], ["updated_at", "2022-01-31 01:01:19.010397"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5522-HHI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5522-HHI"], ["name", "Rustic Steel Car"], ["description", "Kids & Health"], ["price", 5.0], ["stock", 39], ["created_at", "2022-01-31 01:01:19.016670"], ["updated_at", "2022-01-31 01:01:19.016670"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1070-CXQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1070-CXQ"], ["name", "Synergistic Leather Table"], ["description", "Toys & Electronics"], ["price", 12.0], ["stock", 25], ["created_at", "2022-01-31 01:01:19.022102"], ["updated_at", "2022-01-31 01:01:19.022102"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2415-BVT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2415-BVT"], ["name", "Fantastic Wool Shoes"], ["description", "Music, Automotive & Beauty"], ["price", 15.0], ["stock", 41], ["created_at", "2022-01-31 01:01:19.027510"], ["updated_at", "2022-01-31 01:01:19.027510"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6712-PVJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9450-THW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9450-THW"], ["name", "Mediocre Plastic Chair"], ["description", "Jewelry & Automotive"], ["price", 14.0], ["stock", 23], ["created_at", "2022-01-31 01:01:19.036315"], ["updated_at", "2022-01-31 01:01:19.036315"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2016-WSU"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1509-UQV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1509-UQV"], ["name", "Enormous Leather Clock"], ["description", "Games & Books"], ["price", 10.0], ["stock", 32], ["created_at", "2022-01-31 01:01:19.044912"], ["updated_at", "2022-01-31 01:01:19.044912"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8253-ZJI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8253-ZJI"], ["name", "Heavy Duty Granite Watch"], ["description", "Outdoors & Jewelry"], ["price", 13.0], ["stock", 27], ["created_at", "2022-01-31 01:01:19.049633"], ["updated_at", "2022-01-31 01:01:19.049633"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-01-30 20:01:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 3630)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 15077)
Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 1.9ms | Allocations: 15656)
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 45]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 45]]
[1m[36mProduct Destroy (1.1ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 45]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 46]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 46]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 46]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 47]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 47]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 47]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 48]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 48]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 48]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 49]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 49]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 49]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 50]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 50]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 50]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 51]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 51]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 51]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4539-UKI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4539-UKI"], ["name", "Aerodynamic Iron Knife"], ["description", "Sports, Kids & Shoes"], ["price", 15.0], ["stock", 10], ["created_at", "2022-01-31 01:02:40.720565"], ["updated_at", "2022-01-31 01:02:40.720565"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6899-TBS"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6899-TBS"], ["name", "Synergistic Copper Gloves"], ["description", "Industrial"], ["price", 3.0], ["stock", 41], ["created_at", "2022-01-31 01:02:40.726228"], ["updated_at", "2022-01-31 01:02:40.726228"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6285-QOL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6285-QOL"], ["name", "Lightweight Concrete Watch"], ["description", "Toys & Industrial"], ["price", 1.0], ["stock", 19], ["created_at", "2022-01-31 01:02:40.730532"], ["updated_at", "2022-01-31 01:02:40.730532"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5624-JRL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3881-USZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3881-USZ"], ["name", "Synergistic Paper Clock"], ["description", "Garden & Computers"], ["price", 11.0], ["stock", 31], ["created_at", "2022-01-31 01:02:40.738147"], ["updated_at", "2022-01-31 01:02:40.738147"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7065-EZZ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9704-BKE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9704-BKE"], ["name", "Rustic Wooden Shirt"], ["description", "Industrial, Automotive & Sports"], ["price", 3.0], ["stock", 23], ["created_at", "2022-01-31 01:02:40.745670"], ["updated_at", "2022-01-31 01:02:40.745670"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5200-YOD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5200-YOD"], ["name", "Fantastic Rubber Chair"], ["description", "Electronics"], ["price", 6.0], ["stock", 39], ["created_at", "2022-01-31 01:02:40.750387"], ["updated_at", "2022-01-31 01:02:40.750387"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9588-QPL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9588-QPL"], ["name", "Ergonomic Granite Hat"], ["description", "Health, Baby & Clothing"], ["price", 12.0], ["stock", 45], ["created_at", "2022-01-31 01:02:40.754787"], ["updated_at", "2022-01-31 01:02:40.754787"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6505-XDZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6505-XDZ"], ["name", "Enormous Rubber Wallet"], ["description", "Games & Tools"], ["price", 3.0], ["stock", 44], ["created_at", "2022-01-31 01:02:40.759355"], ["updated_at", "2022-01-31 01:02:40.759355"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4520-PZI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4520-PZI"], ["name", "Incredible Steel Computer"], ["description", "Computers, Beauty & Industrial"], ["price", 10.0], ["stock", 24], ["created_at", "2022-01-31 01:02:40.764323"], ["updated_at", "2022-01-31 01:02:40.764323"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3032-SGQ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4604-FPN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4604-FPN"], ["name", "Incredible Copper Chair"], ["description", "Movies, Shoes & Industrial"], ["price", 2.0], ["stock", 11], ["created_at", "2022-01-31 01:02:40.773759"], ["updated_at", "2022-01-31 01:02:40.773759"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6232-SXC"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3827-YTP"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
Started GET “/products” for ::1 at 2022-01-30 20:02:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.6ms | Allocations: 4731)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 793) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 16180)
Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 1.7ms | Allocations: 16769)
Started GET “/products” for ::1 at 2022-01-30 20:05:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 5005)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1222) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 17491)
Completed 200 OK in 40ms (Views: 36.4ms | ActiveRecord: 1.2ms | Allocations: 18870)
Started GET “/products/59” for ::1 at 2022-01-30 20:05:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 229)
Started GET “/users/sign_in” for ::1 at 2022-01-30 20:05:50 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 529) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.6ms | Allocations: 9388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 802) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 64) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 20901)
Completed 200 OK in 32ms (Views: 31.6ms | ActiveRecord: 0.0ms | Allocations: 22523)
Started POST “/users/sign_in” for ::1 at 2022-01-30 20:05:58 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/59 Completed 302 Found in 242ms (ActiveRecord: 1.9ms | Allocations: 6961)
Started GET “/products/59” for ::1 at 2022-01-30 20:05:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 4707)
Rendered layout layouts/application.html.erb (Duration: 14.3ms | Allocations: 4771)
Completed 500 Internal Server Error in 43ms (ActiveRecord: 10.2ms | Allocations: 15106)
ActionView::Template::Error (The asset “not_available” is not present in the asset pipeline. ):
8: <% end %>
9:
10: <div class='product-show-card'>
11: <%= image_tag('not_available', class: 'product-show-image') %>
12: <div class='product-details'>
13: <p class='product-name'><%= @product.name %></p>
14: <p class='product-description'>Description: <%= @product.description %></p>
app/views/products/show.html.erb:11 Started GET “/products/59” for ::1 at 2022-01-30 20:06:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 4.9ms | Allocations: 4672)
Rendered layout layouts/application.html.erb (Duration: 5.1ms | Allocations: 4736)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.9ms | Allocations: 7792)
ActionView::Template::Error (The asset “not_available.jpeg” is not present in the asset pipeline. ):
8: <% end %>
9:
10: <div class='product-show-card'>
11: <%= image_tag('not_available.jpeg', class: 'product-show-image') %>
12: <div class='product-details'>
13: <p class='product-name'><%= @product.name %></p>
14: <p class='product-description'>Description: <%= @product.description %></p>
app/views/products/show.html.erb:11 Started GET “/products/59” for ::1 at 2022-01-30 20:06:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 59]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 82.6ms | Allocations: 51904)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1218) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 205) Rendered layout layouts/application.html.erb (Duration: 102.5ms | Allocations: 64331)
Completed 200 OK in 112ms (Views: 104.0ms | ActiveRecord: 2.9ms | Allocations: 67415)
Started GET “/products/59” for ::1 at 2022-01-30 20:06:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 59]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 18.7ms | Allocations: 10956)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1187) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 23306)
Completed 200 OK in 47ms (Views: 38.2ms | ActiveRecord: 2.8ms | Allocations: 26385)
Started GET “/products/59” for ::1 at 2022-01-30 20:06:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 59]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 15.5ms | Allocations: 10239)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 21562)
Completed 200 OK in 40ms (Views: 33.3ms | ActiveRecord: 2.6ms | Allocations: 23842)
Started GET “/products” for ::1 at 2022-01-30 20:06:53 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 5007)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1696) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 18242)
Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 2.1ms | Allocations: 18950)
Started GET “/” for ::1 at 2022-01-30 20:07:00 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 109)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 1927) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 13627)
Completed 200 OK in 35ms (Views: 32.3ms | ActiveRecord: 0.9ms | Allocations: 14667)
Started GET “/” for ::1 at 2022-01-30 20:08:35 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.9ms | Allocations: 2346) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 13828)
Completed 200 OK in 35ms (Views: 33.7ms | ActiveRecord: 0.8ms | Allocations: 15011)
Started GET “/” for ::1 at 2022-01-30 20:08:52 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.2ms | Allocations: 2345) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 23.4ms | Allocations: 13827)
Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 1.3ms | Allocations: 15009)
Started GET “/” for ::1 at 2022-01-30 20:10:57 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
Started GET “/” for ::1 at 2022-01-30 20:10:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.0ms | Allocations: 1933) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 2012.0ms | Allocations: 112435)
Completed 200 OK in 2014ms (Views: 2011.6ms | ActiveRecord: 0.9ms | Allocations: 112824)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1921) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 687.3ms | Allocations: 32981)
Completed 200 OK in 689ms (Views: 687.2ms | ActiveRecord: 0.8ms | Allocations: 33369)
Started GET “/images/store_back.jpeg” for ::1 at 2022-01-30 20:11:00 -0500
ActionController::RoutingError (No route matches [GET] “/images/store_back.jpeg”):
Started GET “/” for ::1 at 2022-01-30 20:15:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 15.2ms | Allocations: 2354) Rendered shared/_flashes.html.erb (Duration: 1.3ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1563.6ms | Allocations: 95898)
Completed 200 OK in 1567ms (Views: 1564.2ms | ActiveRecord: 1.6ms | Allocations: 97087)
Started GET “/images/store_back.jpeg” for ::1 at 2022-01-30 20:15:46 -0500
ActionController::RoutingError (No route matches [GET] “/images/store_back.jpeg”):
Started GET “/” for ::1 at 2022-01-30 20:17:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.5ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.6ms | Allocations: 2350) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1379.6ms | Allocations: 99615)
Completed 200 OK in 1385ms (Views: 1383.1ms | ActiveRecord: 0.8ms | Allocations: 100803)
Started GET “/” for ::1 at 2022-01-30 20:17:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 1934) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1567.8ms | Allocations: 95541)
Completed 200 OK in 1569ms (Views: 1567.4ms | ActiveRecord: 1.0ms | Allocations: 95930)
Started GET “/” for ::1 at 2022-01-30 20:18:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.0ms | Allocations: 1924) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1225.3ms | Allocations: 95639)
Completed 200 OK in 1226ms (Views: 1224.7ms | ActiveRecord: 1.0ms | Allocations: 96027)
Started GET “/” for ::1 at 2022-01-30 20:18:57 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1921) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1204.1ms | Allocations: 95780)
Completed 200 OK in 1205ms (Views: 1203.7ms | ActiveRecord: 0.9ms | Allocations: 96168)
Started GET “/” for ::1 at 2022-01-30 20:19:32 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.5ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.3ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 32.8ms | Allocations: 14085)
Completed 200 OK in 38ms (Views: 34.6ms | ActiveRecord: 2.1ms | Allocations: 15273)
Started GET “/” for ::1 at 2022-01-30 20:20:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.5ms | Allocations: 112)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.5ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 14078)
Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 0.9ms | Allocations: 15260)
Started GET “/” for ::1 at 2022-01-30 20:21:03 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.5ms | Allocations: 1931) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1484.4ms | Allocations: 95423)
Completed 200 OK in 1486ms (Views: 1484.0ms | ActiveRecord: 1.1ms | Allocations: 95812)
Started GET “/” for ::1 at 2022-01-30 20:21:24 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.0ms | Allocations: 1923) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1183.3ms | Allocations: 95793)
Completed 200 OK in 1185ms (Views: 1182.6ms | ActiveRecord: 1.2ms | Allocations: 96181)
Started GET “/” for ::1 at 2022-01-30 20:21:31 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 1921) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1243.2ms | Allocations: 95755)
Completed 200 OK in 1244ms (Views: 1242.5ms | ActiveRecord: 1.2ms | Allocations: 96143)
Started GET “/” for ::1 at 2022-01-30 20:21:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 121)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.5ms | Allocations: 2357) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1250.0ms | Allocations: 96911)
Completed 200 OK in 1254ms (Views: 1251.5ms | ActiveRecord: 1.3ms | Allocations: 98099)
Started GET “/” for ::1 at 2022-01-30 20:22:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 115)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 14081)
Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.8ms | Allocations: 15269)
Started GET “/” for ::1 at 2022-01-30 20:23:00 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 1934) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1485.4ms | Allocations: 95355)
Completed 200 OK in 1487ms (Views: 1484.9ms | ActiveRecord: 1.2ms | Allocations: 95744)
Started GET “/” for ::1 at 2022-01-30 20:23:10 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1924) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1182.8ms | Allocations: 96715)
Completed 200 OK in 1184ms (Views: 1182.5ms | ActiveRecord: 0.8ms | Allocations: 97103)
Started GET “/” for ::1 at 2022-01-30 20:23:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 120)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 21.9ms | Allocations: 14088)
Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.9ms | Allocations: 15276)
Started GET “/” for ::1 at 2022-01-30 20:23:25 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 115)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 20.2ms | Allocations: 14081)
Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.7ms | Allocations: 15263)
Started GET “/products” for ::1 at 2022-01-30 20:23:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 21.2ms | Allocations: 5930)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1700) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 18536)
Completed 200 OK in 44ms (Views: 39.0ms | ActiveRecord: 2.5ms | Allocations: 19697)
Started GET “/products” for ::1 at 2022-01-30 20:23:29 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 4785)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 17380)
Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 2.6ms | Allocations: 17964)
Started GET “/” for ::1 at 2022-01-30 20:23:30 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.6ms | Allocations: 2676) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 13740)
Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 2.3ms | Allocations: 14134)
Started GET “/” for ::1 at 2022-01-30 20:25:00 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.5ms | Allocations: 136)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 9.6ms | Allocations: 2349) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 25.9ms | Allocations: 14102)
Completed 200 OK in 29ms (Views: 25.7ms | ActiveRecord: 2.4ms | Allocations: 15284)
Started GET “/images/apply.svg” for ::1 at 2022-01-30 20:25:01 -0500
ActionController::RoutingError (No route matches [GET] “/images/apply.svg”):
Started GET “/images/learn.svg” for ::1 at 2022-01-30 20:25:01 -0500
ActionController::RoutingError (No route matches [GET] “/images/learn.svg”):
Started GET “/images/product.svg” for ::1 at 2022-01-30 20:25:01 -0500
ActionController::RoutingError (No route matches [GET] “/images/product.svg”):
Started GET “/” for ::1 at 2022-01-30 20:25:29 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.5ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.6ms | Allocations: 2350) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 1173.2ms | Allocations: 97826)
Completed 200 OK in 1177ms (Views: 1174.3ms | ActiveRecord: 1.0ms | Allocations: 99014)
Started GET “/” for ::1 at 2022-01-30 20:25:34 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.0ms | Allocations: 1934) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1196.6ms | Allocations: 94845)
Completed 200 OK in 1198ms (Views: 1195.8ms | ActiveRecord: 1.4ms | Allocations: 95234)
Started GET “/” for ::1 at 2022-01-30 20:25:41 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1924) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1191.3ms | Allocations: 94836)
Completed 200 OK in 1193ms (Views: 1191.1ms | ActiveRecord: 0.8ms | Allocations: 95224)
Started GET “/” for ::1 at 2022-01-30 20:25:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.3ms | Allocations: 1924) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1161.3ms | Allocations: 94388)
Completed 200 OK in 1162ms (Views: 1160.7ms | ActiveRecord: 1.1ms | Allocations: 94777)
Started GET “/” for ::1 at 2022-01-30 20:25:51 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.1ms | Allocations: 1923) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1194.7ms | Allocations: 95759)
Completed 200 OK in 1196ms (Views: 1194.5ms | ActiveRecord: 1.0ms | Allocations: 96147)
Started GET “/” for ::1 at 2022-01-30 20:25:57 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 1923) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 1194.4ms | Allocations: 96237)
Completed 200 OK in 1196ms (Views: 1193.8ms | ActiveRecord: 1.0ms | Allocations: 96625)
Started GET “/products” for ::1 at 2022-01-30 20:26:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.9ms | Allocations: 5931)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1700) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 18537)
Completed 200 OK in 40ms (Views: 34.9ms | ActiveRecord: 2.4ms | Allocations: 19698)
Started GET “/” for ::1 at 2022-01-30 20:26:14 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.3ms | Allocations: 2020) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 13854)
Completed 200 OK in 37ms (Views: 35.3ms | ActiveRecord: 0.8ms | Allocations: 14246)
Started GET “/products” for ::1 at 2022-01-30 20:26:18 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 54.3ms | Allocations: 5594)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1697) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 74.8ms | Allocations: 18271)
Completed 200 OK in 78ms (Views: 72.3ms | ActiveRecord: 3.0ms | Allocations: 18856)
Started GET “/” for ::1 at 2022-01-30 20:26:20 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 2683) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 13747)
Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 1.0ms | Allocations: 14141)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 20:26:30 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 19ms (ActiveRecord: 0.9ms | Allocations: 4407)
Started GET “/” for ::1 at 2022-01-30 20:26:30 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 834) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 14.3ms | Allocations: 11895)
Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms | Allocations: 12285)
Started GET “/users/sign_in” for ::1 at 2022-01-30 20:26:35 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 530) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.4ms | Allocations: 9484)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 22068)
Completed 200 OK in 39ms (Views: 37.8ms | ActiveRecord: 0.0ms | Allocations: 23587)
Started POST “/users/sign_in” for ::1 at 2022-01-30 20:26:40 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 210ms (ActiveRecord: 1.0ms | Allocations: 1673)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 153)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.6ms | Allocations: 8719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 768) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 51) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 20430)
Completed 200 OK in 230ms (Views: 24.8ms | ActiveRecord: 0.0ms | Allocations: 21000)
Started POST “/users/sign_in” for ::1 at 2022-01-30 20:26:44 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 357ms (ActiveRecord: 1.0ms | Allocations: 3428)
Started GET “/” for ::1 at 2022-01-30 20:26:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1932) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 12997)
Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 1.0ms | Allocations: 13392)
Started GET “/products” for ::1 at 2022-01-30 20:26:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.3ms | Allocations: 5668)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1700) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 18274)
Completed 200 OK in 35ms (Views: 29.5ms | ActiveRecord: 2.5ms | Allocations: 18858)
Started GET “/products/new” for ::1 at 2022-01-30 20:26:57 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 21.0ms | Allocations: 12534)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1917) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 48.0ms | Allocations: 26245)
Completed 200 OK in 49ms (Views: 47.6ms | ActiveRecord: 0.8ms | Allocations: 26777)
Started GET “/products” for ::1 at 2022-01-30 20:27:00 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 17.1ms | Allocations: 5511)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 18262)
Completed 200 OK in 43ms (Views: 37.7ms | ActiveRecord: 2.8ms | Allocations: 18847)
Started GET “/products/60” for ::1 at 2022-01-30 20:27:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 11716)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 771) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 23423)
Completed 200 OK in 45ms (Views: 36.7ms | ActiveRecord: 3.3ms | Allocations: 25829)
Started GET “/products/60” for ::1 at 2022-01-30 20:27:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.9ms | Allocations: 10237)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 21802)
Completed 200 OK in 36ms (Views: 29.5ms | ActiveRecord: 2.7ms | Allocations: 24081)
Started POST “/products/60/orders” for ::1 at 2022-01-30 20:27:16 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"60"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (4.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4520-PZI"], ["id", 60], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (1.7ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 14], ["updated_at", "2022-01-31 01:27:16.164937"], ["id", 60]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (2.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (2.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 60], ["created_at", "2022-01-31 01:27:16.171758"], ["updated_at", "2022-01-31 01:27:16.171758"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 34ms (ActiveRecord: 14.7ms | Allocations: 9004)
Started GET “/orders” for ::1 at 2022-01-30 20:27:16 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2172)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 807) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 21.5ms | Allocations: 13998)
Completed 200 OK in 27ms (Views: 21.1ms | ActiveRecord: 2.6ms | Allocations: 16249)
Started GET “/products” for ::1 at 2022-01-30 20:27:18 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 4793)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1700) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 46.7ms | Allocations: 18294)
Completed 200 OK in 49ms (Views: 45.0ms | ActiveRecord: 2.1ms | Allocations: 18878)
Started GET “/orders” for ::1 at 2022-01-30 20:27:22 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.6ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 1624)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 797) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 14303)
Completed 200 OK in 33ms (Views: 23.8ms | ActiveRecord: 4.3ms | Allocations: 15978)
Started GET “/products” for ::1 at 2022-01-30 20:27:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.5ms | Allocations: 4785)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.0ms | Allocations: 18256)
Completed 200 OK in 47ms (Views: 40.4ms | ActiveRecord: 3.1ms | Allocations: 18839)
Started GET “/products?query=steel&commit=Search” for ::1 at 2022-01-30 20:27:26 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"steel", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (3.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'steel' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'steel' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 10.0ms | Allocations: 1956)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 14551)
Completed 200 OK in 32ms (Views: 23.3ms | ActiveRecord: 4.6ms | Allocations: 15572)
Started GET “/products/60” for ::1 at 2022-01-30 20:27:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 16.7ms | Allocations: 10261)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 22709)
Completed 200 OK in 42ms (Views: 33.8ms | ActiveRecord: 3.2ms | Allocations: 24990)
Started POST “/products/60/reviews” for ::1 at 2022-01-30 20:27:39 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"121212", "content"=>"121212"}, "commit"=>"Create Review", "product_id"=>"60"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.2ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "121212"], ["content", "121212"], ["product_id", 60], ["user_id", 2], ["created_at", "2022-01-31 01:27:39.336550"], ["updated_at", "2022-01-31 01:27:39.336550"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/60 Completed 200 OK in 13ms (ActiveRecord: 5.2ms | Allocations: 5258)
Started GET “/products/60” for ::1 at 2022-01-30 20:27:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 21.0ms | Allocations: 12140)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 23715)
Completed 200 OK in 46ms (Views: 33.7ms | ActiveRecord: 6.1ms | Allocations: 26894)
Started GET “/products” for ::1 at 2022-01-30 20:27:44 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.3ms | Allocations: 5583)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 18257)
Completed 200 OK in 33ms (Views: 27.9ms | ActiveRecord: 2.6ms | Allocations: 18840)
Started GET “/” for ::1 at 2022-01-30 20:27:48 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 2718) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 23.9ms | Allocations: 13860)
Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 1.0ms | Allocations: 14255)
Started DELETE “/users/sign_out” for ::1 at 2022-01-30 20:28:38 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 1918)
Started GET “/” for ::1 at 2022-01-30 20:28:38 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 834) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 11895)
Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.0ms | Allocations: 12285)
Started GET “/” for ::1 at 2022-01-30 20:28:42 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 836) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 15.8ms | Allocations: 11887)
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms | Allocations: 12271)
Started GET “/” for ::1 at 2022-01-30 20:28:44 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 833) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 17.1ms | Allocations: 11884)
Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms | Allocations: 12271)
Started GET “/products” for ::1 at 2022-01-30 20:28:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.1ms | Allocations: 4789)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 17376)
Completed 200 OK in 42ms (Views: 34.7ms | ActiveRecord: 2.0ms | Allocations: 17956)
Started GET “/” for ::1 at 2022-01-30 20:28:46 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 835) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 12754)
Completed 200 OK in 28ms (Views: 27.9ms | ActiveRecord: 0.0ms | Allocations: 13142)
Started GET “/users/sign_in” for ::1 at 2022-01-30 20:28:50 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.2ms | Allocations: 8713)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 59) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 21335)
Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.0ms | Allocations: 21936)
Started GET “/products” for ::1 at 2022-01-30 20:28:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.9ms | Allocations: 4787)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 799) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 17353)
Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 2.1ms | Allocations: 17932)
Started GET “/” for ::1 at 2022-01-30 20:28:53 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 833) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 11915)
Completed 200 OK in 24ms (Views: 23.5ms | ActiveRecord: 0.0ms | Allocations: 12993)
Started GET “/products” for ::1 at 2022-01-30 20:28:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.5ms | Allocations: 4819)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 799) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 17350)
Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 1.4ms | Allocations: 17929)
Started GET “/” for ::1 at 2022-01-30 20:28:56 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 833) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 24.5ms | Allocations: 11884)
Completed 200 OK in 26ms (Views: 25.1ms | ActiveRecord: 0.0ms | Allocations: 12271)
Started GET “/users/sign_in” for ::1 at 2022-01-30 20:28:59 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 153) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.6ms | Allocations: 8724)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 800) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 21307)
Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.0ms | Allocations: 21905)
Started POST “/users/sign_in” for ::1 at 2022-01-30 20:29:09 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 215ms (ActiveRecord: 1.2ms | Allocations: 2474)
Started GET “/” for ::1 at 2022-01-30 20:29:09 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1920) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 16.7ms | Allocations: 12980)
Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.8ms | Allocations: 13374)
Started GET “/products” for ::1 at 2022-01-30 20:29:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.8ms | Allocations: 5658)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 30.5ms | Allocations: 18256)
Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 2.5ms | Allocations: 18839)
Started GET “/products/59” for ::1 at 2022-01-30 20:29:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 59]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 10993)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 23424)
Completed 200 OK in 42ms (Views: 35.4ms | ActiveRecord: 2.5ms | Allocations: 25706)
Started GET “/products” for ::1 at 2022-01-30 20:29:34 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.0ms | Allocations: 4785)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1697) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 18247)
Completed 200 OK in 38ms (Views: 33.9ms | ActiveRecord: 2.4ms | Allocations: 18830)
Started GET “/products/60” for ::1 at 2022-01-30 20:29:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:39
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 12850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 24563)
Completed 200 OK in 50ms (Views: 40.0ms | ActiveRecord: 5.6ms | Allocations: 26845)
Started DELETE “/reviews/38?product_id=60” for ::1 at 2022-01-30 20:29:42 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"60", "id"=>"38"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.9ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 38]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/60 Completed 302 Found in 11ms (ActiveRecord: 3.7ms | Allocations: 3981)
Started GET “/products/60” for ::1 at 2022-01-30 20:29:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"60"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 60]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 10434)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 765) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 27.5ms | Allocations: 22004)
Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 2.4ms | Allocations: 24283)
Started GET “/products?query=w&commit=Search” for ::1 at 2022-01-30 20:29:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"w", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'w' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'w' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 5.0ms | Allocations: 2197)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1694) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 22.5ms | Allocations: 14792)
Completed 200 OK in 25ms (Views: 20.1ms | ActiveRecord: 2.8ms | Allocations: 15765)
Started GET “/products/56” for ::1 at 2022-01-30 20:29:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"56"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 18.8ms | Allocations: 11169)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 22869)
Completed 200 OK in 45ms (Views: 36.6ms | ActiveRecord: 3.8ms | Allocations: 25150)
Started GET “/products/56” for ::1 at 2022-01-30 20:29:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"56"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 10424)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 763) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 57) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 21989)
Completed 200 OK in 35ms (Views: 28.4ms | ActiveRecord: 2.6ms | Allocations: 24267)
Started GET “/products/56” for ::1 at 2022-01-30 21:25:48 -0500
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#show as HTML
Parameters: {"id"=>"56"}
[1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 2561.5ms | Allocations: 512289)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1335) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 206) Rendered layout layouts/application.html.erb (Duration: 2588.2ms | Allocations: 527011)
Completed 200 OK in 2699ms (Views: 2592.4ms | ActiveRecord: 31.0ms | Allocations: 553288)
Started GET “/” for ::1 at 2022-01-30 21:25:52 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.9ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 26.4ms | Allocations: 14968)
Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 1.4ms | Allocations: 16008)
Started GET “/products” for ::1 at 2022-01-30 21:25:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.6ms | Allocations: 5945)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 10.2ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 21380)
Completed 200 OK in 48ms (Views: 40.2ms | ActiveRecord: 5.7ms | Allocations: 22107)
[1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
Started GET “/” for ::1 at 2022-02-01 10:11:09 -0500
[1m[35m (4.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.3ms | Allocations: 227)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (3.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 37.5ms | Allocations: 9781) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 206.9ms | Allocations: 56991)
Completed 200 OK in 222ms (Views: 192.3ms | ActiveRecord: 18.3ms | Allocations: 60264)
Started GET “/products” for ::1 at 2022-02-01 10:11:11 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (8.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 61.4ms | Allocations: 11280)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 84.9ms | Allocations: 25853)
Completed 200 OK in 113ms (Views: 82.1ms | ActiveRecord: 20.2ms | Allocations: 28733)
Started GET “/products?query=ch&commit=Search” for ::1 at 2022-02-01 10:11:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"ch", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (16.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'ch' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'ch' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 24.1ms | Allocations: 2527)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.4ms | Allocations: 17071)
Completed 200 OK in 63ms (Views: 40.6ms | ActiveRecord: 18.1ms | Allocations: 18110)
Started GET “/products/new” for ::1 at 2022-02-01 10:11:19 -0500 Processing by ProductsController#new as HTML
Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 383.6ms | Allocations: 365977)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 2038) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 401.8ms | Allocations: 380824)
Completed 200 OK in 404ms (Views: 401.6ms | ActiveRecord: 0.9ms | Allocations: 381385)
Started GET “/products” for ::1 at 2022-02-01 10:11:21 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.5ms | Allocations: 5654)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 10.4ms | Allocations: 2580) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 54.8ms | Allocations: 21047)
Completed 200 OK in 59ms (Views: 49.8ms | ActiveRecord: 6.1ms | Allocations: 21632)
Started GET “/orders” for ::1 at 2022-02-01 10:11:22 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (6.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 37.8ms | Allocations: 7426)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 60.4ms | Allocations: 21111)
Completed 200 OK in 83ms (Views: 46.1ms | ActiveRecord: 20.2ms | Allocations: 24978)
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (3.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (203.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (153.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (396.7ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (273.4ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (25.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (8.2ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (2.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203317), (20220130203435);
[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (2.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:21:48.639413"], ["updated_at", "2022-02-01 15:21:48.639413"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:21:48.651692"], ["updated_at", "2022-02-01 15:21:48.651692"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203317), (20220130203435);
[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:21:48.754218"], ["updated_at", "2022-02-01 15:21:48.754218"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (1.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-01 15:21:48.759658"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:21:48.765351"], ["updated_at", "2022-02-01 15:21:48.765351"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1098-LTO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1098-LTO"], ["name", "Practical Concrete Coat"], ["description", "Books & Automotive"], ["price", 15.0], ["stock", 49], ["created_at", "2022-02-01 15:21:49.179175"], ["updated_at", "2022-02-01 15:21:49.179175"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9101-PGO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8480-TDA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8480-TDA"], ["name", "Practical Concrete Computer"], ["description", "Toys, Outdoors & Home"], ["price", 12.0], ["stock", 44], ["created_at", "2022-02-01 15:21:49.188853"], ["updated_at", "2022-02-01 15:21:49.188853"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6663-JDK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6663-JDK"], ["name", "Durable Copper Bottle"], ["description", "Sports, Baby & Industrial"], ["price", 7.0], ["stock", 32], ["created_at", "2022-02-01 15:21:49.194151"], ["updated_at", "2022-02-01 15:21:49.194151"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5347-HVB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5347-HVB"], ["name", "Intelligent Granite Knife"], ["description", "Outdoors & Clothing"], ["price", 12.0], ["stock", 44], ["created_at", "2022-02-01 15:21:49.198900"], ["updated_at", "2022-02-01 15:21:49.198900"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2494-BGG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2494-BGG"], ["name", "Enormous Concrete Chair"], ["description", "Beauty, Movies & Electronics"], ["price", 5.0], ["stock", 42], ["created_at", "2022-02-01 15:21:49.204279"], ["updated_at", "2022-02-01 15:21:49.204279"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8620-DBJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8620-DBJ"], ["name", "Small Aluminum Pants"], ["description", "Automotive"], ["price", 7.0], ["stock", 32], ["created_at", "2022-02-01 15:21:49.209667"], ["updated_at", "2022-02-01 15:21:49.209667"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8219-YBJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8219-YBJ"], ["name", "Practical Wool Car"], ["description", "Kids & Toys"], ["price", 10.0], ["stock", 44], ["created_at", "2022-02-01 15:21:49.214533"], ["updated_at", "2022-02-01 15:21:49.214533"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9627-AQH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9627-AQH"], ["name", "Incredible Concrete Shirt"], ["description", "Garden & Toys"], ["price", 15.0], ["stock", 39], ["created_at", "2022-02-01 15:21:49.219938"], ["updated_at", "2022-02-01 15:21:49.219938"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3325-EQB"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4663-PPK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4663-PPK"], ["name", "Sleek Iron Bag"], ["description", "Toys & Beauty"], ["price", 1.0], ["stock", 41], ["created_at", "2022-02-01 15:21:49.228106"], ["updated_at", "2022-02-01 15:21:49.228106"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1399-RVO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1399-RVO"], ["name", "Synergistic Plastic Bench"], ["description", "Health & Games"], ["price", 7.0], ["stock", 30], ["created_at", "2022-02-01 15:21:49.233117"], ["updated_at", "2022-02-01 15:21:49.233117"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6707-SVX"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8356-BLW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8356-BLW"], ["name", "Mediocre Leather Bottle"], ["description", "Automotive"], ["price", 5.0], ["stock", 31], ["created_at", "2022-02-01 15:21:49.241593"], ["updated_at", "2022-02-01 15:21:49.241593"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6622-HPV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6622-HPV"], ["name", "Synergistic Rubber Chair"], ["description", "Movies, Kids & Electronics"], ["price", 1.0], ["stock", 12], ["created_at", "2022-02-01 15:21:49.246573"], ["updated_at", "2022-02-01 15:21:49.246573"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
[1m[36mProduct Destroy (2.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
[1m[36mProduct Destroy (1.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 3]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
[1m[36mProduct Destroy (1.1ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 6]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 7]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 8]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 9]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 10]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 10]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 11]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 11]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 12]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6363-WUQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6363-WUQ"], ["name", "Rustic Copper Gloves"], ["description", "Beauty, Industrial & Clothing"], ["price", 1.0], ["stock", 37], ["created_at", "2022-02-01 15:22:11.273120"], ["updated_at", "2022-02-01 15:22:11.273120"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3156-AID"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3156-AID"], ["name", "Mediocre Aluminum Clock"], ["description", "Jewelry, Games & Toys"], ["price", 8.0], ["stock", 16], ["created_at", "2022-02-01 15:22:11.279454"], ["updated_at", "2022-02-01 15:22:11.279454"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9329-YUE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9329-YUE"], ["name", "Fantastic Rubber Shoes"], ["description", "Shoes & Grocery"], ["price", 9.0], ["stock", 15], ["created_at", "2022-02-01 15:22:11.283938"], ["updated_at", "2022-02-01 15:22:11.283938"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3880-XBV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3880-XBV"], ["name", "Durable Copper Computer"], ["description", "Computers & Jewelry"], ["price", 9.0], ["stock", 41], ["created_at", "2022-02-01 15:22:11.289748"], ["updated_at", "2022-02-01 15:22:11.289748"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5657-ZZF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5657-ZZF"], ["name", "Enormous Linen Chair"], ["description", "Home, Electronics & Toys"], ["price", 11.0], ["stock", 21], ["created_at", "2022-02-01 15:22:11.294606"], ["updated_at", "2022-02-01 15:22:11.294606"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4915-KZT"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6656-NWP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6656-NWP"], ["name", "Fantastic Cotton Keyboard"], ["description", "Electronics"], ["price", 12.0], ["stock", 24], ["created_at", "2022-02-01 15:22:11.302667"], ["updated_at", "2022-02-01 15:22:11.302667"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9135-LOM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9135-LOM"], ["name", "Fantastic Paper Plate"], ["description", "Shoes, Music & Games"], ["price", 15.0], ["stock", 23], ["created_at", "2022-02-01 15:22:11.307030"], ["updated_at", "2022-02-01 15:22:11.307030"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2574-YGC"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1142-XUX"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4438-JLY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4438-JLY"], ["name", "Rustic Marble Clock"], ["description", "Movies, Beauty & Music"], ["price", 2.0], ["stock", 12], ["created_at", "2022-02-01 15:22:11.318440"], ["updated_at", "2022-02-01 15:22:11.318440"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7556-MYO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9631-VAA"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4381-NVO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4381-NVO"], ["name", "Synergistic Concrete Bottle"], ["description", "Music & Baby"], ["price", 6.0], ["stock", 24], ["created_at", "2022-02-01 15:22:11.329565"], ["updated_at", "2022-02-01 15:22:11.329565"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2499-OZJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2499-OZJ"], ["name", "Fantastic Silk Bench"], ["description", "Tools & Health"], ["price", 3.0], ["stock", 48], ["created_at", "2022-02-01 15:22:11.334992"], ["updated_at", "2022-02-01 15:22:11.334992"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
Started GET “/orders” for ::1 at 2022-02-01 10:22:28 -0500
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Completed 401 Unauthorized in 24ms (ActiveRecord: 8.1ms | Allocations: 4841)
Started GET “/users/sign_in” for ::1 at 2022-02-01 10:22:29 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 610) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 40.4ms | Allocations: 15646)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1387) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 209) Rendered layout layouts/application.html.erb (Duration: 150.8ms | Allocations: 64076)
Completed 200 OK in 171ms (Views: 159.2ms | ActiveRecord: 0.0ms | Allocations: 72002)
Started GET “/products” for ::1 at 2022-02-01 10:22:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (5.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 35.5ms | Allocations: 11267)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 54.3ms | Allocations: 24884)
Completed 200 OK in 64ms (Views: 39.9ms | ActiveRecord: 16.5ms | Allocations: 27760)
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (146.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (139.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (396.4ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (265.8ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:26:53.042603"], ["updated_at", "2022-02-01 15:26:53.042603"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:26:53.051765"], ["updated_at", "2022-02-01 15:26:53.051765"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:26:53.147045"], ["updated_at", "2022-02-01 15:26:53.147045"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-01 15:26:53.152158"], ["key", "environment"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:26:53.156885"], ["updated_at", "2022-02-01 15:26:53.156885"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4228-JAJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.8ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4228-JAJ"], ["name", "Small Rubber Pants"], ["description", "Shoes, Tools & Games"], ["price", 3.0], ["stock", 42], ["created_at", "2022-02-01 15:26:53.555734"], ["updated_at", "2022-02-01 15:26:53.555734"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5369-DZY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5369-DZY"], ["name", "Sleek Granite Lamp"], ["description", "Books, Shoes & Computers"], ["price", 10.0], ["stock", 31], ["created_at", "2022-02-01 15:26:53.561935"], ["updated_at", "2022-02-01 15:26:53.561935"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6778-BWA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6778-BWA"], ["name", "Mediocre Marble Computer"], ["description", "Home & Industrial"], ["price", 8.0], ["stock", 34], ["created_at", "2022-02-01 15:26:53.567639"], ["updated_at", "2022-02-01 15:26:53.567639"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1906-IQA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1906-IQA"], ["name", "Lightweight Cotton Chair"], ["description", "Tools, Clothing & Jewelry"], ["price", 7.0], ["stock", 13], ["created_at", "2022-02-01 15:26:53.573062"], ["updated_at", "2022-02-01 15:26:53.573062"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1454-PFU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1454-PFU"], ["name", "Awesome Wool Knife"], ["description", "Books, Health & Baby"], ["price", 6.0], ["stock", 42], ["created_at", "2022-02-01 15:26:53.578714"], ["updated_at", "2022-02-01 15:26:53.578714"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8014-KGG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8014-KGG"], ["name", "Incredible Wool Car"], ["description", "Sports, Kids & Home"], ["price", 10.0], ["stock", 34], ["created_at", "2022-02-01 15:26:53.584822"], ["updated_at", "2022-02-01 15:26:53.584822"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2993-YGJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2993-YGJ"], ["name", "Mediocre Leather Watch"], ["description", "Baby & Movies"], ["price", 6.0], ["stock", 20], ["created_at", "2022-02-01 15:26:53.591635"], ["updated_at", "2022-02-01 15:26:53.591635"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9433-UAF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9433-UAF"], ["name", "Ergonomic Bronze Gloves"], ["description", "Outdoors & Tools"], ["price", 4.0], ["stock", 41], ["created_at", "2022-02-01 15:26:53.597414"], ["updated_at", "2022-02-01 15:26:53.597414"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5964-XWB"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2048-XSY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2048-XSY"], ["name", "Aerodynamic Linen Bag"], ["description", "Tools & Health"], ["price", 10.0], ["stock", 50], ["created_at", "2022-02-01 15:26:53.607217"], ["updated_at", "2022-02-01 15:26:53.607217"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9383-WKM"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2230-TZP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2230-TZP"], ["name", "Aerodynamic Rubber Car"], ["description", "Baby, Kids & Garden"], ["price", 6.0], ["stock", 41], ["created_at", "2022-02-01 15:26:53.616181"], ["updated_at", "2022-02-01 15:26:53.616181"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6704-JUN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6704-JUN"], ["name", "Awesome Bronze Bench"], ["description", "Automotive"], ["price", 8.0], ["stock", 48], ["created_at", "2022-02-01 15:26:53.621176"], ["updated_at", "2022-02-01 15:26:53.621176"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4723-VPI"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1690-YPP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1690-YPP"], ["name", "Awesome Granite Clock"], ["description", "Kids, Beauty & Books"], ["price", 3.0], ["stock", 22], ["created_at", "2022-02-01 15:26:53.630183"], ["updated_at", "2022-02-01 15:26:53.630183"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
[1m[36mProduct Destroy (1.1ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 3]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 6]]
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 7]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 8]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 9]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 10]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 10]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 11]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 11]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 12]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8406-RLL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8406-RLL"], ["name", "Durable Leather Watch"], ["description", "Tools, Shoes & Grocery"], ["price", 7.0], ["stock", 25], ["created_at", "2022-02-01 15:26:59.575004"], ["updated_at", "2022-02-01 15:26:59.575004"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7284-RWC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7284-RWC"], ["name", "Practical Plastic Pants"], ["description", "Shoes, Books & Automotive"], ["price", 10.0], ["stock", 20], ["created_at", "2022-02-01 15:26:59.582449"], ["updated_at", "2022-02-01 15:26:59.582449"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4120-FRH"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4506-VJC"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7789-WZL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7789-WZL"], ["name", "Enormous Paper Hat"], ["description", "Shoes, Grocery & Games"], ["price", 13.0], ["stock", 12], ["created_at", "2022-02-01 15:26:59.596581"], ["updated_at", "2022-02-01 15:26:59.596581"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1120-YXW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8870-FSE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8870-FSE"], ["name", "Durable Paper Shoes"], ["description", "Baby, Toys & Movies"], ["price", 10.0], ["stock", 25], ["created_at", "2022-02-01 15:26:59.606321"], ["updated_at", "2022-02-01 15:26:59.606321"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7124-XNR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7124-XNR"], ["name", "Aerodynamic Aluminum Table"], ["description", "Health, Electronics & Beauty"], ["price", 7.0], ["stock", 11], ["created_at", "2022-02-01 15:26:59.611288"], ["updated_at", "2022-02-01 15:26:59.611288"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7896-PAA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7896-PAA"], ["name", "Enormous Granite Computer"], ["description", "Garden & Electronics"], ["price", 14.0], ["stock", 36], ["created_at", "2022-02-01 15:26:59.616189"], ["updated_at", "2022-02-01 15:26:59.616189"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9565-BHF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9565-BHF"], ["name", "Heavy Duty Marble Plate"], ["description", "Books & Outdoors"], ["price", 7.0], ["stock", 33], ["created_at", "2022-02-01 15:26:59.620873"], ["updated_at", "2022-02-01 15:26:59.620873"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1753-IDO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2941-RDO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2328-WPG"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8323-SGJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5730-NVP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5730-NVP"], ["name", "Ergonomic Steel Hat"], ["description", "Home, Computers & Tools"], ["price", 5.0], ["stock", 12], ["created_at", "2022-02-01 15:26:59.640081"], ["updated_at", "2022-02-01 15:26:59.640081"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-02-01 10:27:08 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 117.7ms | Allocations: 43417)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 1407) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 147.2ms | Allocations: 58256)
Completed 200 OK in 165ms (Views: 140.8ms | ActiveRecord: 10.0ms | Allocations: 63242)
Started GET “/products” for ::1 at 2022-02-01 10:27:10 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.2ms | Allocations: 4754)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 916) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.5ms | Allocations: 18414)
Completed 200 OK in 42ms (Views: 36.2ms | ActiveRecord: 3.8ms | Allocations: 19008)
Started GET “/products” for ::1 at 2022-02-01 10:27:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.3ms | Allocations: 4751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 18401)
Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 1.0ms | Allocations: 18993)
Started GET “/orders” for ::1 at 2022-02-01 10:27:12 -0500 Processing by OrdersController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 307)
Started GET “/users/sign_in” for ::1 at 2022-02-01 10:27:13 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 605) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 41.4ms | Allocations: 15497)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 59.2ms | Allocations: 29265)
Completed 200 OK in 80ms (Views: 62.1ms | ActiveRecord: 6.5ms | Allocations: 37369)
Started GET “/” for ::1 at 2022-02-01 10:27:13 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 17.1ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 69.0ms | Allocations: 14647)
Completed 200 OK in 73ms (Views: 71.9ms | ActiveRecord: 0.0ms | Allocations: 15686)
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (172.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (156.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (407.0ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (291.0ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.4ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:51:00.891059"], ["updated_at", "2022-02-01 15:51:00.891059"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:51:00.899261"], ["updated_at", "2022-02-01 15:51:00.899261"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220130203643)[0m
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-01 15:51:00.994048"], ["updated_at", "2022-02-01 15:51:00.994048"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-01 15:51:00.999189"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b2718945863d94c2f3e0205632379f4878e81866"], ["created_at", "2022-02-01 15:51:01.003693"], ["updated_at", "2022-02-01 15:51:01.003693"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8944-YYK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8944-YYK"], ["name", "Heavy Duty Aluminum Table"], ["description", "Shoes & Home"], ["price", 12.0], ["stock", 30], ["created_at", "2022-02-01 15:51:01.404166"], ["updated_at", "2022-02-01 15:51:01.404166"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8594-VCW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8594-VCW"], ["name", "Lightweight Iron Wallet"], ["description", "Health & Computers"], ["price", 14.0], ["stock", 13], ["created_at", "2022-02-01 15:51:01.410054"], ["updated_at", "2022-02-01 15:51:01.410054"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9403-NFZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9403-NFZ"], ["name", "Lightweight Marble Pants"], ["description", "Garden, Music & Beauty"], ["price", 2.0], ["stock", 49], ["created_at", "2022-02-01 15:51:01.415884"], ["updated_at", "2022-02-01 15:51:01.415884"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6143-NGX"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2315-DTF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2315-DTF"], ["name", "Heavy Duty Linen Pants"], ["description", "Industrial & Movies"], ["price", 6.0], ["stock", 12], ["created_at", "2022-02-01 15:51:01.424425"], ["updated_at", "2022-02-01 15:51:01.424425"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1958-MCV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1958-MCV"], ["name", "Rustic Bronze Bag"], ["description", "Games, Automotive & Toys"], ["price", 3.0], ["stock", 23], ["created_at", "2022-02-01 15:51:01.429624"], ["updated_at", "2022-02-01 15:51:01.429624"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7855-UYI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7855-UYI"], ["name", "Gorgeous Bronze Computer"], ["description", "Books, Beauty & Games"], ["price", 10.0], ["stock", 44], ["created_at", "2022-02-01 15:51:01.434650"], ["updated_at", "2022-02-01 15:51:01.434650"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3696-ACX"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1683-FQF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5632-WHE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5632-WHE"], ["name", "Ergonomic Wooden Knife"], ["description", "Books, Toys & Electronics"], ["price", 1.0], ["stock", 28], ["created_at", "2022-02-01 15:51:01.447691"], ["updated_at", "2022-02-01 15:51:01.447691"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4711-BTY"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4118-JMX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4118-JMX"], ["name", "Awesome Plastic Coat"], ["description", "Electronics & Tools"], ["price", 10.0], ["stock", 30], ["created_at", "2022-02-01 15:51:01.455916"], ["updated_at", "2022-02-01 15:51:01.455916"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1178-KFP"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5369-WIP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5369-WIP"], ["name", "Gorgeous Wooden Keyboard"], ["description", "Outdoors & Home"], ["price", 9.0], ["stock", 42], ["created_at", "2022-02-01 15:51:01.463908"], ["updated_at", "2022-02-01 15:51:01.463908"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5588-OHZ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
[1m[36mProduct Destroy (1.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 3]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 6]]
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 7]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 8]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 9]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5467-ZMG"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6138-ENO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3247-HFH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3247-HFH"], ["name", "Lightweight Granite Coat"], ["description", "Home, Games & Music"], ["price", 3.0], ["stock", 25], ["created_at", "2022-02-01 15:51:27.234326"], ["updated_at", "2022-02-01 15:51:27.234326"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1707-CRP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1707-CRP"], ["name", "Aerodynamic Steel Shirt"], ["description", "Electronics & Home"], ["price", 2.0], ["stock", 30], ["created_at", "2022-02-01 15:51:27.240921"], ["updated_at", "2022-02-01 15:51:27.240921"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5752-TAP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5752-TAP"], ["name", "Rustic Marble Bottle"], ["description", "Outdoors, Industrial & Music"], ["price", 2.0], ["stock", 20], ["created_at", "2022-02-01 15:51:27.245920"], ["updated_at", "2022-02-01 15:51:27.245920"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9690-XNC"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5741-BEQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5741-BEQ"], ["name", "Practical Cotton Gloves"], ["description", "Beauty, Health & Sports"], ["price", 1.0], ["stock", 13], ["created_at", "2022-02-01 15:51:27.253856"], ["updated_at", "2022-02-01 15:51:27.253856"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6235-BQV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6235-BQV"], ["name", "Awesome Silk Gloves"], ["description", "Industrial, Movies & Garden"], ["price", 13.0], ["stock", 19], ["created_at", "2022-02-01 15:51:27.259131"], ["updated_at", "2022-02-01 15:51:27.259131"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2880-BPV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2880-BPV"], ["name", "Durable Plastic Watch"], ["description", "Baby & Games"], ["price", 9.0], ["stock", 26], ["created_at", "2022-02-01 15:51:27.263785"], ["updated_at", "2022-02-01 15:51:27.263785"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5160-BGJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5160-BGJ"], ["name", "Sleek Marble Plate"], ["description", "Sports, Clothing & Computers"], ["price", 11.0], ["stock", 32], ["created_at", "2022-02-01 15:51:27.268452"], ["updated_at", "2022-02-01 15:51:27.268452"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2945-KIF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9226-OME"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4219-GHU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4219-GHU"], ["name", "Durable Copper Table"], ["description", "Electronics"], ["price", 15.0], ["stock", 44], ["created_at", "2022-02-01 15:51:27.280498"], ["updated_at", "2022-02-01 15:51:27.280498"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6922-KSL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2530-XWL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
Started GET “/” for ::1 at 2022-02-01 10:51:57 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.4ms | Allocations: 227)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 1473) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 212.7ms | Allocations: 48544)
Completed 200 OK in 230ms (Views: 218.6ms | ActiveRecord: 0.0ms | Allocations: 51815)
Started GET “/products” for ::1 at 2022-02-01 10:51:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 28.9ms | Allocations: 10133)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 48.7ms | Allocations: 23751)
Completed 200 OK in 63ms (Views: 41.6ms | ActiveRecord: 13.5ms | Allocations: 27351)
Started GET “/portfolios/3” for ::1 at 2022-02-05 10:57:43 -0500
[1m[35m (3.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
ActionController::RoutingError (No route matches [GET] “/portfolios/3”):
Started GET “/” for ::1 at 2022-02-05 10:57:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.2ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1461) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 262.4ms | Allocations: 48391)
Completed 200 OK in 292ms (Views: 277.7ms | ActiveRecord: 0.0ms | Allocations: 51057)
Started GET “/” for ::1 at 2022-02-05 10:57:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 13842)
Completed 200 OK in 40ms (Views: 38.6ms | ActiveRecord: 0.0ms | Allocations: 14236)
Started GET “/products” for ::1 at 2022-02-05 10:57:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (5.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 43.2ms | Allocations: 10893)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 62.5ms | Allocations: 24565)
Completed 200 OK in 73ms (Views: 44.9ms | ActiveRecord: 19.3ms | Allocations: 27451)
Started GET “/products” for ::1 at 2022-02-05 10:58:31 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 92.8ms | Allocations: 43380)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1407) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 117.5ms | Allocations: 58219)
Completed 200 OK in 133ms (Views: 112.3ms | ActiveRecord: 9.3ms | Allocations: 63205)
Started GET “/products” for ::1 at 2022-02-05 10:58:32 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.8ms | Allocations: 4761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 24.9ms | Allocations: 18416)
Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 1.5ms | Allocations: 19009)
Started GET “/products” for ::1 at 2022-02-05 10:58:34 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.5ms | Allocations: 4760)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 18445)
Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 1.4ms | Allocations: 19039)
[1m[35m (5.5ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "orders"[0m
Started GET “/products/16” for ::1 at 2022-02-05 11:00:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 230)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:00:19 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 605) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 55.5ms | Allocations: 15497)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 70.1ms | Allocations: 29263)
Completed 200 OK in 92ms (Views: 72.5ms | ActiveRecord: 7.1ms | Allocations: 37351)
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (2.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (12.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$gNzLNAXZRNOseMzEfEh6dOunp5S4imfhNAohf1VwvRpFgwl/PU/GW"], ["created_at", "2022-02-05 16:02:09.906520"], ["updated_at", "2022-02-05 16:02:09.906520"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "El Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (3.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
Started POST “/users/sign_in” for ::1 at 2022-02-05 11:02:25 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/16 Completed 302 Found in 247ms (ActiveRecord: 3.8ms | Allocations: 6955)
Started GET “/products/16” for ::1 at 2022-02-05 11:02:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 31.7ms | Allocations: 14646)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 882) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 45.6ms | Allocations: 28173)
Completed 200 OK in 75ms (Views: 44.5ms | ActiveRecord: 12.1ms | Allocations: 38526)
Started GET “/products/16/edit” for ::1 at 2022-02-05 11:02:28 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:32:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 17.2ms | Allocations: 12603)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 27153)
Completed 200 OK in 44ms (Views: 35.8ms | ActiveRecord: 1.9ms | Allocations: 29921)
Started GET “/products” for ::1 at 2022-02-05 11:02:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 8.2ms | Allocations: 4749)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.4ms | Allocations: 20186)
Completed 200 OK in 48ms (Views: 44.4ms | ActiveRecord: 2.4ms | Allocations: 20770)
Started GET “/products/17” for ::1 at 2022-02-05 11:02:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/show.html.erb:35
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 11276)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 24919)
Completed 200 OK in 40ms (Views: 31.0ms | ActiveRecord: 4.1ms | Allocations: 27200)
Started POST “/products/17/orders” for ::1 at 2022-02-05 11:02:41 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"17"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:10:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Exists? (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4219-GHU"], ["id", 17], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mProduct Update (8.4ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 43], ["updated_at", "2022-02-05 16:02:41.403201"], ["id", 17]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mOrder Create (6.5ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 17], ["created_at", "2022-02-05 16:02:41.417742"], ["updated_at", "2022-02-05 16:02:41.417742"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 46ms (ActiveRecord: 23.7ms | Allocations: 9141)
Started GET “/orders” for ::1 at 2022-02-05 11:02:41 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.5ms | Allocations: 2168)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 27.5ms | Allocations: 15934)
Completed 200 OK in 35ms (Views: 26.8ms | ActiveRecord: 3.5ms | Allocations: 18185)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "orders"[0m
Started DELETE “/orders/1?order_id=1” for ::1 at 2022-02-05 11:02:50 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"1", "id"=>"1"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:32:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `destroy'
[1m[36mTRANSACTION (1.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mOrder Destroy (1.3ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:25:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 18ms (ActiveRecord: 6.6ms | Allocations: 4365)
Started GET “/orders” for ::1 at 2022-02-05 11:02:50 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 701)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 14463)
Completed 200 OK in 24ms (Views: 17.9ms | ActiveRecord: 2.0ms | Allocations: 16135)
Started GET “/products” for ::1 at 2022-02-05 11:11:24 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:2 [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.9ms | Allocations: 6331)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 20976)
Completed 200 OK in 73ms (Views: 38.7ms | ActiveRecord: 22.7ms | Allocations: 26204)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 11:11:27 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 26ms (ActiveRecord: 0.8ms | Allocations: 4316)
Started GET “/” for ::1 at 2022-02-05 11:11:27 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 118)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 953) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 15.4ms | Allocations: 13951)
Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.0ms | Allocations: 14993)
Started GET “/products” for ::1 at 2022-02-05 11:11:28 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.3ms | Allocations: 1568) Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 1632)
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 2186)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
1: <h1>Everything you need in one place!</h1> 2: <% if current_user.admin %> 3: <div class="product-add"> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div>
app/views/products/index.html.erb:2 Started PUT “/__web_console/repl_sessions/d3e210c1bd3b62588f1e7e29be55f748” for ::1 at 2022-02-05 11:11:38 -0500 Started PUT “/__web_console/repl_sessions/d3e210c1bd3b62588f1e7e29be55f748” for ::1 at 2022-02-05 11:11:42 -0500 Started GET “/” for ::1 at 2022-02-05 11:11:46 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 942) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 13969)
Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.0ms | Allocations: 14355)
Started GET “/products” for ::1 at 2022-02-05 11:11:50 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.5ms | Allocations: 1563) Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 1627)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms | Allocations: 2175)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
1: <h1>Everything you need in one place!</h1> 2: <% if current_user.admin %> 3: <div class="product-add"> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div>
app/views/products/index.html.erb:2 Started GET “/” for ::1 at 2022-02-05 11:12:13 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1371) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 30.0ms | Allocations: 15094)
Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.0ms | Allocations: 16333)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:12:15 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 561) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 20.4ms | Allocations: 10209)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 37.5ms | Allocations: 24026)
Completed 200 OK in 42ms (Views: 40.5ms | ActiveRecord: 0.0ms | Allocations: 25544)
Started GET “/users/sign_up” for ::1 at 2022-02-05 11:12:17 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 141) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 22.6ms | Allocations: 14643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 53.4ms | Allocations: 28431)
Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms | Allocations: 30390)
Started POST “/users” for ::1 at 2022-02-05 11:12:50 -0500 Processing by Devise::RegistrationsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"first_name"=>"Gabriel", "last_name"=>"Llerena Quenaya", "address"=>"Bagua 203", "phone"=>"944204207", "email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$unD4MYS.JHTcutlDyvtpu.P1NeBer6baR2Yq5RiTaXj/YNK9jcaSa"], ["created_at", "2022-02-05 16:12:50.269930"], ["updated_at", "2022-02-05 16:12:50.269930"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Bagua 203"], ["phone", "944204207"]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
Redirected to localhost:3000/ Completed 302 Found in 240ms (ActiveRecord: 5.1ms | Allocations: 7149)
Started GET “/” for ::1 at 2022-02-05 11:12:50 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 14936)
Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 1.4ms | Allocations: 15334)
Started GET “/products” for ::1 at 2022-02-05 11:13:01 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:2 [1m[36mProduct Load (4.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 24.9ms | Allocations: 6817)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 51.8ms | Allocations: 20437)
Completed 200 OK in 58ms (Views: 48.2ms | ActiveRecord: 6.8ms | Allocations: 21598)
Started GET “/products” for ::1 at 2022-02-05 11:14:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:2 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 14.4ms | Allocations: 5914)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1306) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 59.2ms | Allocations: 20619)
Completed 200 OK in 66ms (Views: 60.4ms | ActiveRecord: 2.3ms | Allocations: 21994)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 11:14:55 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 1914)
Started GET “/” for ::1 at 2022-02-05 11:14:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.1ms | Allocations: 13927)
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms | Allocations: 14896)
Started GET “/products” for ::1 at 2022-02-05 11:14:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.9ms | Allocations: 1565) Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 1629)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms | Allocations: 2178)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
1: <h1>Everything you need in one place!</h1> 2: <% if !!current_user.admin %> 3: <div class="product-add"> 4: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 5: </div>
app/views/products/index.html.erb:2 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:00 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:02 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:04 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:04 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:34 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:39 -0500 Started PUT “/__web_console/repl_sessions/30a88d0ee5985884fa452f4906d1c2ec” for ::1 at 2022-02-05 11:15:40 -0500 Started GET “/products” for ::1 at 2022-02-05 11:18:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 20.1ms | Allocations: 9685)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1346) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 24394)
Completed 200 OK in 45ms (Views: 28.3ms | ActiveRecord: 10.1ms | Allocations: 27934)
Started GET “/products” for ::1 at 2022-02-05 11:18:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 4752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 22.5ms | Allocations: 18405)
Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 1.3ms | Allocations: 18985)
Started GET “/products/17” for ::1 at 2022-02-05 11:18:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.5ms | Allocations: 2278)
Rendered layout layouts/application.html.erb (Duration: 3.7ms | Allocations: 2342)
Completed 500 Internal Server Error in 52ms (ActiveRecord: 20.7ms | Allocations: 11837)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
1: <% if current_user.admin == true %>
2: <div class="product-edit-delete">
3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
4: <%= button_to "Remove product", {:controller => :products,
app/views/products/show.html.erb:1 Started GET “/products/17” for ::1 at 2022-02-05 11:20:59 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 476.0ms | Allocations: 400592)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1398) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 496.3ms | Allocations: 415380)
Completed 200 OK in 556ms (Views: 498.7ms | ActiveRecord: 19.2ms | Allocations: 434126)
Started GET “/products” for ::1 at 2022-02-05 11:21:03 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 5165)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 24.4ms | Allocations: 18822)
Completed 200 OK in 28ms (Views: 22.5ms | ActiveRecord: 2.5ms | Allocations: 20318)
Started GET “/products” for ::1 at 2022-02-05 11:21:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 4755)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 18402)
Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 1.5ms | Allocations: 18993)
Started GET “/products/new” for ::1 at 2022-02-05 11:21:53 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 228)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:21:54 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 605) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.6ms | Allocations: 9855)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 23563)
Completed 200 OK in 60ms (Views: 43.5ms | ActiveRecord: 4.9ms | Allocations: 31653)
Started GET “/products” for ::1 at 2022-02-05 11:27:21 -0500 Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 25ms (ActiveRecord: 11.4ms | Allocations: 5846)
RuntimeError ():
app/controllers/products_controller.rb:11:in `index' Started PUT “/__web_console/repl_sessions/fe1bc2327ffea1aad1711a25ed4524a4” for ::1 at 2022-02-05 11:27:23 -0500 Started PUT “/__web_console/repl_sessions/fe1bc2327ffea1aad1711a25ed4524a4” for ::1 at 2022-02-05 11:27:23 -0500 Started PUT “/__web_console/repl_sessions/fe1bc2327ffea1aad1711a25ed4524a4” for ::1 at 2022-02-05 11:27:36 -0500 Started GET “/products/new” for ::1 at 2022-02-05 11:27:43 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 236)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:27:43 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 22.8ms | Allocations: 8666)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 919) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 48.0ms | Allocations: 22378)
Completed 200 OK in 61ms (Views: 49.0ms | ActiveRecord: 0.0ms | Allocations: 28360)
Started POST “/users/sign_in” for ::1 at 2022-02-05 11:27:48 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 232ms (ActiveRecord: 2.4ms | Allocations: 4473)
Started GET “/products/new” for ::1 at 2022-02-05 11:27:48 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.2ms | Allocations: 12594)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 30.6ms | Allocations: 26263)
Completed 200 OK in 42ms (Views: 31.4ms | ActiveRecord: 1.3ms | Allocations: 31605)
Started GET “/products” for ::1 at 2022-02-05 11:27:50 -0500 Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 758)
RuntimeError ():
app/controllers/products_controller.rb:11:in `index' Started PUT “/__web_console/repl_sessions/ca02e42492101394e273ae26b3c26561” for ::1 at 2022-02-05 11:27:52 -0500 Started PUT “/__web_console/repl_sessions/ca02e42492101394e273ae26b3c26561” for ::1 at 2022-02-05 11:27:58 -0500 Started PUT “/__web_console/repl_sessions/ca02e42492101394e273ae26b3c26561” for ::1 at 2022-02-05 11:28:00 -0500 Started PUT “/__web_console/repl_sessions/ca02e42492101394e273ae26b3c26561” for ::1 at 2022-02-05 11:28:28 -0500
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:11:in `index'
Started PUT “/__web_console/repl_sessions/ca02e42492101394e273ae26b3c26561” for ::1 at 2022-02-05 11:28:34 -0500 Started GET “/products” for ::1 at 2022-02-05 11:29:36 -0500 Processing by ProductsController#index as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 757)
RuntimeError ():
app/controllers/products_controller.rb:11:in `index' Started GET “/products” for ::1 at 2022-02-05 11:29:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 28.2ms | Allocations: 9350)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 18.0ms | Allocations: 7656) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 64.0ms | Allocations: 29711)
Completed 200 OK in 71ms (Views: 45.4ms | ActiveRecord: 19.6ms | Allocations: 32568)
Started GET “/products?query=co&commit=Search” for ::1 at 2022-02-05 11:30:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"co", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (19.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
Rendered products/index.html.erb within layouts/application (Duration: 26.0ms | Allocations: 3433)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.1ms | Allocations: 17973)
Completed 200 OK in 47ms (Views: 22.2ms | ActiveRecord: 20.5ms | Allocations: 18997)
Started GET “/products” for ::1 at 2022-02-05 11:30:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.9ms | Allocations: 4750)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 10.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.8ms | Allocations: 20181)
Completed 200 OK in 78ms (Views: 71.1ms | ActiveRecord: 4.4ms | Allocations: 20764)
Started GET “/orders” for ::1 at 2022-02-05 11:30:34 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1181)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 925) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 14937)
Completed 200 OK in 31ms (Views: 21.2ms | ActiveRecord: 3.3ms | Allocations: 18549)
Started GET “/products” for ::1 at 2022-02-05 11:30:35 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 17.4ms | Allocations: 5551)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 39.3ms | Allocations: 20194)
Completed 200 OK in 43ms (Views: 36.7ms | ActiveRecord: 3.0ms | Allocations: 20778)
Started GET “/” for ::1 at 2022-02-05 11:30:36 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 15852)
Completed 200 OK in 37ms (Views: 34.9ms | ActiveRecord: 0.8ms | Allocations: 16892)
Started GET “/products” for ::1 at 2022-02-05 11:30:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.4ms | Allocations: 5520)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 20198)
Completed 200 OK in 39ms (Views: 34.5ms | ActiveRecord: 2.3ms | Allocations: 20782)
Started GET “/products/new” for ::1 at 2022-02-05 11:30:38 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 28.2ms | Allocations: 12099)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 54.8ms | Allocations: 26634)
Completed 200 OK in 61ms (Views: 56.4ms | ActiveRecord: 0.9ms | Allocations: 28315)
Started GET “/users/edit” for ::1 at 2022-02-05 11:30:49 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 26.0ms | Allocations: 15192)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 68.2ms | Allocations: 28949)
Completed 200 OK in 79ms (Views: 72.5ms | ActiveRecord: 0.9ms | Allocations: 32126)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Started GET “/” for ::1 at 2022-02-05 11:47:47 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 35.5ms | Allocations: 6733) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 60.4ms | Allocations: 19627)
Completed 200 OK in 61ms (Views: 60.8ms | ActiveRecord: 20.2ms | Allocations: 20019)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 11:47:52 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.9ms | Allocations: 2541)
Started GET “/” for ::1 at 2022-02-05 11:47:52 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 948) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 15.6ms | Allocations: 13844)
Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.0ms | Allocations: 14235)
Started GET “/products” for ::1 at 2022-02-05 11:48:00 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.6ms | Allocations: 4949)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 18612)
Completed 200 OK in 32ms (Views: 25.8ms | ActiveRecord: 2.8ms | Allocations: 19924)
Started GET “/products/new” for ::1 at 2022-02-05 11:48:01 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:48:01 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.8ms | Allocations: 8729)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 22439)
Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.0ms | Allocations: 23250)
Started GET “/products/16” for ::1 at 2022-02-05 11:48:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 19.1ms | Allocations: 12009)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.0ms | Allocations: 25555)
Completed 200 OK in 101ms (Views: 65.0ms | ActiveRecord: 18.1ms | Allocations: 34754)
Started POST “/products/16/orders” for ::1 at 2022-02-05 11:48:24 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 292)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:48:24 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 10.4ms | Allocations: 8689)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 22382)
Completed 200 OK in 29ms (Views: 28.1ms | ActiveRecord: 0.0ms | Allocations: 22987)
Started GET “/users/sign_in” for ::1 at 2022-02-05 11:49:29 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.5ms | Allocations: 8724)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 921) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 22429)
Completed 200 OK in 48ms (Views: 30.5ms | ActiveRecord: 6.4ms | Allocations: 29261)
Started GET “/products/16” for ::1 at 2022-02-05 11:49:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.6ms | Allocations: 12005)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 916) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 35.0ms | Allocations: 25566)
Completed 200 OK in 72ms (Views: 34.8ms | ActiveRecord: 15.9ms | Allocations: 39877)
Started POST “/products/16/orders” for ::1 at 2022-02-05 11:49:32 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5160-BGJ"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Update (1.6ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 31], ["updated_at", "2022-02-05 16:49:32.787166"], ["id", 16]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 9.4ms | Allocations: 6112)
Rendered layout layouts/application.html.erb (Duration: 9.7ms | Allocations: 6176)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 7.9ms | Allocations: 12620)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'>
app/views/products/show.html.erb:64 app/controllers/orders_controller.rb:20:in `create' Started GET “/products/16” for ::1 at 2022-02-05 12:13:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 12025)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 925) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 48.7ms | Allocations: 25594)
Completed 200 OK in 91ms (Views: 48.3ms | ActiveRecord: 14.5ms | Allocations: 42032)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:23 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"df"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:5:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.0ms | Allocations: 2411)
Rendered layout layouts/application.html.erb (Duration: 3.2ms | Allocations: 2475)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.8ms | Allocations: 5623)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
19: </div>
20: <hr>
21: <div class='order-buy-form'>
22: <%= simple_form_for([ @product, @order ]) do |f| %>
23: <%= f.input :quantity, input_html: { value: 1 } %>
24: <div class='text-right mt-5'>
25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:22 app/controllers/reviews_controller.rb:12:in `create' Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:25 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"df"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:5:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.7ms | Allocations: 2399)
Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 2463)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.3ms | Allocations: 4230)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
19: </div>
20: <hr>
21: <div class='order-buy-form'>
22: <%= simple_form_for([ @product, @order ]) do |f| %>
23: <%= f.input :quantity, input_html: { value: 1 } %>
24: <div class='text-right mt-5'>
25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:22 app/controllers/reviews_controller.rb:12:in `create' Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:26 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"df"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:5:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 3.5ms | Allocations: 2401)
Rendered layout layouts/application.html.erb (Duration: 3.7ms | Allocations: 2465)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.1ms | Allocations: 4232)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
19: </div>
20: <hr>
21: <div class='order-buy-form'>
22: <%= simple_form_for([ @product, @order ]) do |f| %>
23: <%= f.input :quantity, input_html: { value: 1 } %>
24: <div class='text-right mt-5'>
25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:22 app/controllers/reviews_controller.rb:12:in `create' Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:35 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"df"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Allocations: 822)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:40 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:41 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:41 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:41 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfg", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:43 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:45 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdf", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:13:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"dfgdfdfsdfdfsd", "content"=>"dfsdfsdfsdfsdfsdfsdf"}, "commit"=>"Create Review", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 271)
Started GET “/products/16” for ::1 at 2022-02-05 12:17:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 12691)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1295) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 27237)
Completed 200 OK in 110ms (Views: 45.3ms | ActiveRecord: 29.4ms | Allocations: 42634)
Started GET “/products/16” for ::1 at 2022-02-05 12:17:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.4ms | Allocations: 11257)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 46.7ms | Allocations: 25793)
Completed 200 OK in 56ms (Views: 48.4ms | ActiveRecord: 2.4ms | Allocations: 27722)
Started GET “/products/16” for ::1 at 2022-02-05 12:18:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.3ms | Allocations: 11438)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 25974)
Completed 200 OK in 49ms (Views: 41.7ms | ActiveRecord: 2.1ms | Allocations: 27903)
Started GET “/products/16” for ::1 at 2022-02-05 12:19:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 11526)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 26062)
Completed 200 OK in 45ms (Views: 38.8ms | ActiveRecord: 2.2ms | Allocations: 27991)
Started GET “/products/16” for ::1 at 2022-02-05 12:19:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.2ms | Allocations: 11437)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.8ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 45.7ms | Allocations: 25978)
Completed 200 OK in 56ms (Views: 47.8ms | ActiveRecord: 2.4ms | Allocations: 27908)
Started GET “/products/16” for ::1 at 2022-02-05 12:19:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 11541)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.6ms | Allocations: 26083)
Completed 200 OK in 53ms (Views: 46.0ms | ActiveRecord: 2.1ms | Allocations: 28019)
Started GET “/products/16” for ::1 at 2022-02-05 12:19:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 10760)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.4ms | Allocations: 24268)
Completed 200 OK in 53ms (Views: 48.0ms | ActiveRecord: 1.9ms | Allocations: 25404)
Started GET “/products/16” for ::1 at 2022-02-05 12:20:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.5ms | Allocations: 1771)
Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 1836)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.8ms | Allocations: 3744)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <div class=“product-edit-delete”>
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
<button class='btn btn-outline-primary btn-like'>Like</button>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<% if user_signed_in? %>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
<% end %>
<% button_to 'Create Review', {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
</div>
<%= button_to “Remove product”, {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
): 1: <div class=“product-edit-delete”> 2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 3: <%= button_to “Remove product”, {:controller => :products, 4: :action => 'destroy', :id => @product.id }, :method => :delete, 5: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 6: </div> 7:
8: <div class='product-show-card'> 9: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 10: <div class='product-details'> 11: <p class='product-name'><%= @product.name %></p> 12: <p class='product-description'>Description: <%= @product.description %></p> 13: <p class='product-price'>Price: $ <%= @product.price %></p> 14: <hr> 15: <div class='product-stock-likes'> 16: <p class='product-stock'>Stock: <%= @product.stock %></p> 17: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 18: <button class='btn btn-outline-primary btn-like'>Like</button> 19: </div> 20: <hr> 21: <div class='order-buy-form'> 22: <%= simple_form_for([ @product, @order ]) do |f| %> 23: <%= f.input :quantity, input_html: { value: 1 } %> 24: <div class='text-right mt-5'> 25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 26: </div> 27: <% end %> 28: </div> 29: </div> 30: </div> 31:
32: <div class='reviews-show'> 33: <% if @product.reviews.blank? %> 34: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 35: <% else %> 36: <h2>Reviews</h2> 37: <% @product.reviews.order('created_at DESC').each do |review| %> 38: <div class=“card”> 39: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 40: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 41: <span class='text-muted', style='font-size: 15px'> 42: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 43: </span> 44: </h5> 45: <div class=“card-body”> 46: <% if current_user.admin == true %> 47: <%= link_to “Remove”, 48: review_path(review, :product_id => review.product), 49: method: :delete, 50: class: 'product-remove', 51: data: { confirm: “Are you sure?” } %> 52: <% end %> 53: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 54: <p class=“card-text”><p><%= review.content %></p></p> 55: </div> 56: </div> 57: <% end %> 58: <% end %> 59: </div> 60:
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'> 68: <% if user_signed_in? %> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: <% end %> 71: <% end %> 72: <% button_to 'Create Review', {:controller => :products, 73: :action => 'destroy', :id => @product.id }, :method => :delete, 74: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 75: </div> 76: <% end %> 77: </div> 78:
79: <%= button_to “Remove product”, {:controller => :products, 80: :action => 'destroy', :id => @product.id }, :method => :delete, 81: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %>
app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input Started GET “/products/16” for ::1 at 2022-02-05 12:20:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 1773)
Rendered layout layouts/application.html.erb (Duration: 2.4ms | Allocations: 1838)
Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.9ms | Allocations: 3745)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <div class=“product-edit-delete”>
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
<button class='btn btn-outline-primary btn-like'>Like</button>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<% if user_signed_in? %>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
</div>
<% end %>
<% button_to 'Create Review', {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
<% end %>
</div>
<%= button_to “Remove product”, {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
): 1: <div class=“product-edit-delete”> 2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 3: <%= button_to “Remove product”, {:controller => :products, 4: :action => 'destroy', :id => @product.id }, :method => :delete, 5: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 6: </div> 7:
8: <div class='product-show-card'> 9: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 10: <div class='product-details'> 11: <p class='product-name'><%= @product.name %></p> 12: <p class='product-description'>Description: <%= @product.description %></p> 13: <p class='product-price'>Price: $ <%= @product.price %></p> 14: <hr> 15: <div class='product-stock-likes'> 16: <p class='product-stock'>Stock: <%= @product.stock %></p> 17: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 18: <button class='btn btn-outline-primary btn-like'>Like</button> 19: </div> 20: <hr> 21: <div class='order-buy-form'> 22: <%= simple_form_for([ @product, @order ]) do |f| %> 23: <%= f.input :quantity, input_html: { value: 1 } %> 24: <div class='text-right mt-5'> 25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 26: </div> 27: <% end %> 28: </div> 29: </div> 30: </div> 31:
32: <div class='reviews-show'> 33: <% if @product.reviews.blank? %> 34: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 35: <% else %> 36: <h2>Reviews</h2> 37: <% @product.reviews.order('created_at DESC').each do |review| %> 38: <div class=“card”> 39: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 40: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 41: <span class='text-muted', style='font-size: 15px'> 42: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 43: </span> 44: </h5> 45: <div class=“card-body”> 46: <% if current_user.admin == true %> 47: <%= link_to “Remove”, 48: review_path(review, :product_id => review.product), 49: method: :delete, 50: class: 'product-remove', 51: data: { confirm: “Are you sure?” } %> 52: <% end %> 53: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 54: <p class=“card-text”><p><%= review.content %></p></p> 55: </div> 56: </div> 57: <% end %> 58: <% end %> 59: </div> 60:
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'> 68: <% if user_signed_in? %> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: <% end %> 71: </div> 72: <% end %> 73: <% button_to 'Create Review', {:controller => :products, 74: :action => 'destroy', :id => @product.id }, :method => :delete, 75: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 76: <% end %> 77: </div> 78:
79: <%= button_to “Remove product”, {:controller => :products, 80: :action => 'destroy', :id => @product.id }, :method => :delete, 81: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %>
app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:83: syntax error, unexpected `end', expecting end-of-input Started GET “/products/16” for ::1 at 2022-02-05 12:20:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 1753)
Rendered layout layouts/application.html.erb (Duration: 2.2ms | Allocations: 1818)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms | Allocations: 3725)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <div class=“product-edit-delete”>
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
<button class='btn btn-outline-primary btn-like'>Like</button>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<% if user_signed_in? %>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
</div>
<% end %>
<% button_to 'Create Review', {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
<% end %>
</div>
): 1: <div class=“product-edit-delete”> 2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 3: <%= button_to “Remove product”, {:controller => :products, 4: :action => 'destroy', :id => @product.id }, :method => :delete, 5: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 6: </div> 7:
8: <div class='product-show-card'> 9: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 10: <div class='product-details'> 11: <p class='product-name'><%= @product.name %></p> 12: <p class='product-description'>Description: <%= @product.description %></p> 13: <p class='product-price'>Price: $ <%= @product.price %></p> 14: <hr> 15: <div class='product-stock-likes'> 16: <p class='product-stock'>Stock: <%= @product.stock %></p> 17: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 18: <button class='btn btn-outline-primary btn-like'>Like</button> 19: </div> 20: <hr> 21: <div class='order-buy-form'> 22: <%= simple_form_for([ @product, @order ]) do |f| %> 23: <%= f.input :quantity, input_html: { value: 1 } %> 24: <div class='text-right mt-5'> 25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 26: </div> 27: <% end %> 28: </div> 29: </div> 30: </div> 31:
32: <div class='reviews-show'> 33: <% if @product.reviews.blank? %> 34: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 35: <% else %> 36: <h2>Reviews</h2> 37: <% @product.reviews.order('created_at DESC').each do |review| %> 38: <div class=“card”> 39: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 40: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 41: <span class='text-muted', style='font-size: 15px'> 42: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 43: </span> 44: </h5> 45: <div class=“card-body”> 46: <% if current_user.admin == true %> 47: <%= link_to “Remove”, 48: review_path(review, :product_id => review.product), 49: method: :delete, 50: class: 'product-remove', 51: data: { confirm: “Are you sure?” } %> 52: <% end %> 53: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 54: <p class=“card-text”><p><%= review.content %></p></p> 55: </div> 56: </div> 57: <% end %> 58: <% end %> 59: </div> 60:
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'> 68: <% if user_signed_in? %> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: <% end %> 71: </div> 72: <% end %> 73: <% button_to 'Create Review', {:controller => :products, 74: :action => 'destroy', :id => @product.id }, :method => :delete, 75: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 76: <% end %> 77: </div>
app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:81: syntax error, unexpected `end', expecting end-of-input Started GET “/products/16” for ::1 at 2022-02-05 12:21:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 22.0ms | Allocations: 11363)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 26079)
Completed 200 OK in 50ms (Views: 43.5ms | ActiveRecord: 2.1ms | Allocations: 27213)
Started GET “/products/16” for ::1 at 2022-02-05 12:21:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.1ms | Allocations: 11334)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 39.0ms | Allocations: 25870)
Completed 200 OK in 48ms (Views: 40.6ms | ActiveRecord: 2.3ms | Allocations: 27805)
Started GET “/users/sign_in” for ::1 at 2022-02-05 12:21:58 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 629) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.7ms | Allocations: 9506)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 23207)
Completed 200 OK in 71ms (Views: 45.2ms | ActiveRecord: 9.9ms | Allocations: 31534)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:22:06 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 220ms (ActiveRecord: 1.6ms | Allocations: 3582)
Started GET “/products/new” for ::1 at 2022-02-05 12:22:06 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 12.9ms | Allocations: 12281)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 25947)
Completed 200 OK in 32ms (Views: 28.1ms | ActiveRecord: 0.7ms | Allocations: 27756)
Started GET “/products” for ::1 at 2022-02-05 12:22:11 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (4.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 39.1ms | Allocations: 5180)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.3ms | Allocations: 1812) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 76.4ms | Allocations: 19788)
Completed 200 OK in 85ms (Views: 73.1ms | ActiveRecord: 5.4ms | Allocations: 21231)
Started GET “/products/17” for ::1 at 2022-02-05 12:22:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 28.6ms | Allocations: 12409)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.3ms | Allocations: 26033)
Completed 200 OK in 58ms (Views: 49.9ms | ActiveRecord: 4.7ms | Allocations: 27174)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 12:22:18 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.2ms | Allocations: 2051)
Started GET “/” for ::1 at 2022-02-05 12:22:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.1ms | Allocations: 13889)
Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms | Allocations: 14929)
Started GET “/products” for ::1 at 2022-02-05 12:22:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 10.6ms | Allocations: 4755)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 19294)
Completed 200 OK in 38ms (Views: 35.2ms | ActiveRecord: 1.1ms | Allocations: 19875)
Started GET “/products/16” for ::1 at 2022-02-05 12:22:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 17.1ms | Allocations: 11340)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.3ms | Allocations: 24986)
Completed 200 OK in 40ms (Views: 33.4ms | ActiveRecord: 2.8ms | Allocations: 26122)
Started GET “/products/16” for ::1 at 2022-02-05 12:22:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 21.6ms | Allocations: 11520)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.0ms | Allocations: 26118)
Completed 200 OK in 49ms (Views: 43.3ms | ActiveRecord: 2.2ms | Allocations: 28051)
Started GET “/products/16” for ::1 at 2022-02-05 12:22:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 19.9ms | Allocations: 10760)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 24268)
Completed 200 OK in 42ms (Views: 37.6ms | ActiveRecord: 1.7ms | Allocations: 25402)
Started GET “/products/16” for ::1 at 2022-02-05 12:22:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 18.1ms | Allocations: 11516)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 38.5ms | Allocations: 26052)
Completed 200 OK in 47ms (Views: 41.2ms | ActiveRecord: 1.8ms | Allocations: 27985)
Started GET “/products/16” for ::1 at 2022-02-05 12:23:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 19.0ms | Allocations: 11527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 26063)
Completed 200 OK in 49ms (Views: 41.8ms | ActiveRecord: 2.8ms | Allocations: 27990)
Started GET “/products/16” for ::1 at 2022-02-05 12:24:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 25.8ms | Allocations: 12130)
Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 12194)
Completed 500 Internal Server Error in 36ms (ActiveRecord: 2.5ms | Allocations: 14093)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“sessions”, :id=>“16”}):
70: <% end %>
71: </div>
72: <% end %>
73: <%= button_to "Remove product", {:controller => :sessions,
74: :action => 'new'}, class: 'btn btn-outline-danger' %>
75: </div>
app/views/products/show.html.erb:73 Started GET “/products/16” for ::1 at 2022-02-05 12:24:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 34.7ms | Allocations: 12120)
Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 12184)
Completed 500 Internal Server Error in 49ms (ActiveRecord: 3.4ms | Allocations: 14088)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“devise”, :id=>“16”}):
70: <% end %>
71: </div>
72: <% end %>
73: <%= button_to "Remove product", {:controller => :devise,
74: :action => 'new'}, class: 'btn btn-outline-danger' %>
75: </div>
app/views/products/show.html.erb:73 Started GET “/products/16” for ::1 at 2022-02-05 12:24:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 19.8ms | Allocations: 12147)
Rendered layout layouts/application.html.erb (Duration: 20.1ms | Allocations: 12211)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 2.8ms | Allocations: 14115)
ActionView::Template::Error (No route matches {:action=>“new”, :controller=>“users”, :id=>“16”}):
70: <% end %>
71: </div>
72: <% end %>
73: <%= button_to "Remove product", {:controller => :users,
74: :action => 'new'}, class: 'btn btn-outline-danger' %>
75: </div>
app/views/products/show.html.erb:73 Started GET “/products/16” for ::1 at 2022-02-05 12:25:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 15.0ms | Allocations: 11274)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.4ms | Allocations: 25872)
Completed 200 OK in 52ms (Views: 46.9ms | ActiveRecord: 1.6ms | Allocations: 27804)
Started GET “/products/16” for ::1 at 2022-02-05 12:26:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 20.5ms | Allocations: 10521)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 24029)
Completed 200 OK in 49ms (Views: 41.9ms | ActiveRecord: 2.9ms | Allocations: 25164)
Started GET “/products/16” for ::1 at 2022-02-05 12:26:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 19.2ms | Allocations: 11262)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 25798)
Completed 200 OK in 50ms (Views: 42.9ms | ActiveRecord: 1.9ms | Allocations: 27731)
Started GET “/products/16” for ::1 at 2022-02-05 12:26:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 11252)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.6ms | Allocations: 25788)
Completed 200 OK in 53ms (Views: 45.9ms | ActiveRecord: 2.5ms | Allocations: 27715)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:27:02 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 353)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 528)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.3ms | Allocations: 9449)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 900) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 52) Rendered layout layouts/application.html.erb (Duration: 31.2ms | Allocations: 23133)
Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms | Allocations: 24539)
Started GET “/products” for ::1 at 2022-02-05 12:27:07 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.1ms | Allocations: 5900)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 19555)
Completed 200 OK in 38ms (Views: 32.6ms | ActiveRecord: 1.8ms | Allocations: 20260)
Started GET “/products/15” for ::1 at 2022-02-05 12:27:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 22.7ms | Allocations: 10529)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.9ms | Allocations: 24972)
Completed 200 OK in 67ms (Views: 62.3ms | ActiveRecord: 1.9ms | Allocations: 26110)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:27:12 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 376)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 152)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.3ms | Allocations: 8720)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 900) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 52) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 22402)
Completed 200 OK in 27ms (Views: 26.9ms | ActiveRecord: 0.0ms | Allocations: 22913)
Started GET “/products/15” for ::1 at 2022-02-05 12:50:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 10508)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.5ms | Allocations: 24012)
Completed 200 OK in 62ms (Views: 38.9ms | ActiveRecord: 15.1ms | Allocations: 28384)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:53:05 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 353)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 152)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 8707)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 894) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 50) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 22437)
Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 0.0ms | Allocations: 22923)
Started GET “/products/15” for ::1 at 2022-02-05 12:53:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 15.6ms | Allocations: 11269)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 25809)
Completed 200 OK in 44ms (Views: 39.0ms | ActiveRecord: 2.4ms | Allocations: 27743)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:53:47 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 353)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 3.5ms | Allocations: 528)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.2ms | Allocations: 9442)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 900) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 52) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 23126)
Completed 200 OK in 49ms (Views: 47.7ms | ActiveRecord: 0.0ms | Allocations: 24531)
Started GET “/products” for ::1 at 2022-02-05 12:53:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.7ms | Allocations: 5010)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1335) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 20564)
Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 1.5ms | Allocations: 21943)
Started GET “/products/16” for ::1 at 2022-02-05 12:53:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 22.8ms | Allocations: 12004)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 25651)
Completed 200 OK in 46ms (Views: 39.9ms | ActiveRecord: 2.5ms | Allocations: 26913)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:54:00 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 376)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.9ms | Allocations: 531)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.8ms | Allocations: 9445)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 903) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 52) Rendered layout layouts/application.html.erb (Duration: 32.0ms | Allocations: 23190)
Completed 200 OK in 35ms (Views: 34.8ms | ActiveRecord: 0.0ms | Allocations: 24619)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:54:46 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@lewagon.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@lewagon.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 9ms (ActiveRecord: 2.5ms | Allocations: 1647)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@lewagon.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 152)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.7ms | Allocations: 8730)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 883) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 50) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 22449)
Completed 200 OK in 240ms (Views: 24.5ms | ActiveRecord: 0.0ms | Allocations: 23001)
Started POST “/users/sign_in” for ::1 at 2022-02-05 12:55:03 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 223ms (ActiveRecord: 1.2ms | Allocations: 3424)
Started GET “/” for ::1 at 2022-02-05 12:55:03 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2043) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 15018)
Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.8ms | Allocations: 15991)
Started GET “/products” for ::1 at 2022-02-05 12:55:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 12.2ms | Allocations: 5651)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 20202)
Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 2.5ms | Allocations: 20787)
Started GET “/products/16” for ::1 at 2022-02-05 12:55:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (2.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 27.3ms | Allocations: 12321)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.1ms | Allocations: 26031)
Completed 200 OK in 49ms (Views: 41.4ms | ActiveRecord: 5.0ms | Allocations: 27171)
Started GET “/products/16” for ::1 at 2022-02-05 12:56:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 28.4ms | Allocations: 12337)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 51.3ms | Allocations: 26885)
Completed 200 OK in 61ms (Views: 50.9ms | ActiveRecord: 5.5ms | Allocations: 28826)
Started GET “/products/16” for ::1 at 2022-02-05 12:56:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.1ms | Allocations: 1760)
Rendered layout layouts/application.html.erb (Duration: 2.5ms | Allocations: 1825)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.0ms | Allocations: 3729)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <div class=“product-edit-delete”>
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='product-likes'><%= pluralize @product.likes, 'like' %></p>
<button class='btn btn-outline-primary btn-like'>Like</button>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-title text-right"><p><%= review.title %></p></h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<div class='text-right mt-5'>
<% if user_signed_in? %>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
<% else %>
<%= button_to "Create Review", new_user_session_path,
class: 'btn btn-outline-primary' %>
<% end %>
</div>
</div>
): 1: <div class=“product-edit-delete”> 2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 3: <%= button_to “Remove product”, {:controller => :products, 4: :action => 'destroy', :id => @product.id }, :method => :delete, 5: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 6: </div> 7:
8: <div class='product-show-card'> 9: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 10: <div class='product-details'> 11: <p class='product-name'><%= @product.name %></p> 12: <p class='product-description'>Description: <%= @product.description %></p> 13: <p class='product-price'>Price: $ <%= @product.price %></p> 14: <hr> 15: <div class='product-stock-likes'> 16: <p class='product-stock'>Stock: <%= @product.stock %></p> 17: <p class='product-likes'><%= pluralize @product.likes, 'like' %></p> 18: <button class='btn btn-outline-primary btn-like'>Like</button> 19: </div> 20: <hr> 21: <div class='order-buy-form'> 22: <%= simple_form_for([ @product, @order ]) do |f| %> 23: <%= f.input :quantity, input_html: { value: 1 } %> 24: <div class='text-right mt-5'> 25: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 26: </div> 27: <% end %> 28: </div> 29: </div> 30: </div> 31:
32: <div class='reviews-show'> 33: <% if @product.reviews.blank? %> 34: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 35: <% else %> 36: <h2>Reviews</h2> 37: <% @product.reviews.order('created_at DESC').each do |review| %> 38: <div class=“card”> 39: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 40: <p><%= “#{review.user.first_name} #{review.user.last_name}” %></p> 41: <span class='text-muted', style='font-size: 15px'> 42: <%= review.created_at.to_s.slice(0,review.created_at.to_s.length - 4) %> 43: </span> 44: </h5> 45: <div class=“card-body”> 46: <% if current_user.admin == true %> 47: <%= link_to “Remove”, 48: review_path(review, :product_id => review.product), 49: method: :delete, 50: class: 'product-remove', 51: data: { confirm: “Are you sure?” } %> 52: <% end %> 53: <h5 class=“card-title text-right”><p><%= review.title %></p></h5> 54: <p class=“card-text”><p><%= review.content %></p></p> 55: </div> 56: </div> 57: <% end %> 58: <% end %> 59: </div> 60:
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'> 68: <% if user_signed_in? %> 69: <%= f.button :submit, class: 'btn btn-outline-primary' %> 70: <% end %> 71:
72: <% else %> 73:
74:
75: <%= button_to “Create Review”, new_user_session_path, 76: class: 'btn btn-outline-primary' %> 77: <% end %> 78: </div>
79: </div>
app/views/products/show.html.erb:72: else without rescue is useless app/views/products/show.html.erb:72: else without rescue is useless app/views/products/show.html.erb:72: else without rescue is useless app/views/products/show.html.erb:72: else without rescue is useless app/views/products/show.html.erb:72: else without rescue is useless app/views/products/show.html.erb:72: else without rescue is useless Started GET “/products/16” for ::1 at 2022-02-05 12:57:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 19.7ms | Allocations: 12359)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 26964)
Completed 200 OK in 51ms (Views: 44.2ms | ActiveRecord: 2.8ms | Allocations: 28900)
Started GET “/products/16” for ::1 at 2022-02-05 12:57:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 28.7ms | Allocations: 12242)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 55.3ms | Allocations: 26786)
Completed 200 OK in 64ms (Views: 55.1ms | ActiveRecord: 4.3ms | Allocations: 28718)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 12:57:47 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"A review", "content"=>"Some description"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (4.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "A review"], ["content", "Some description"], ["product_id", 16], ["user_id", 2], ["created_at", "2022-02-05 17:57:47.201022"], ["updated_at", "2022-02-05 17:57:47.201022"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (2.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/16 Completed 200 OK in 18ms (ActiveRecord: 8.7ms | Allocations: 5278)
Started GET “/products/16” for ::1 at 2022-02-05 12:57:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 29.6ms | Allocations: 15186)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 28703)
Completed 200 OK in 50ms (Views: 42.5ms | ActiveRecord: 4.6ms | Allocations: 29844)
Started GET “/products/16” for ::1 at 2022-02-05 13:01:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 21.9ms | Allocations: 13904)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 47.8ms | Allocations: 28448)
Completed 200 OK in 54ms (Views: 47.0ms | ActiveRecord: 4.0ms | Allocations: 30379)
Started GET “/products/16” for ::1 at 2022-02-05 13:02:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 13849)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 54.0ms | Allocations: 28397)
Completed 200 OK in 64ms (Views: 54.4ms | ActiveRecord: 5.1ms | Allocations: 30329)
Started GET “/products/16” for ::1 at 2022-02-05 13:03:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 28.0ms | Allocations: 13867)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 53.3ms | Allocations: 28417)
Completed 200 OK in 62ms (Views: 52.3ms | ActiveRecord: 5.4ms | Allocations: 30354)
Started GET “/products/16” for ::1 at 2022-02-05 13:03:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 25.5ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1301) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 28395)
Completed 200 OK in 74ms (Views: 63.2ms | ActiveRecord: 5.1ms | Allocations: 30327)
Started GET “/products/16” for ::1 at 2022-02-05 13:03:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 13857)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 28408)
Completed 200 OK in 50ms (Views: 40.7ms | ActiveRecord: 5.8ms | Allocations: 30345)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 13852)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.1ms | Allocations: 28396)
Completed 200 OK in 53ms (Views: 41.4ms | ActiveRecord: 6.1ms | Allocations: 30328)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 26.0ms | Allocations: 13851)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 28395)
Completed 200 OK in 49ms (Views: 40.5ms | ActiveRecord: 5.4ms | Allocations: 30326)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 25.6ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 28394)
Completed 200 OK in 49ms (Views: 40.4ms | ActiveRecord: 5.6ms | Allocations: 30325)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (2.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 60.0ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1308) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 84.3ms | Allocations: 28404)
Completed 200 OK in 91ms (Views: 77.6ms | ActiveRecord: 9.6ms | Allocations: 30336)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 25.6ms | Allocations: 13877)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 28427)
Completed 200 OK in 50ms (Views: 42.3ms | ActiveRecord: 4.5ms | Allocations: 30364)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 25.4ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1301) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.8ms | Allocations: 28395)
Completed 200 OK in 53ms (Views: 42.0ms | ActiveRecord: 6.3ms | Allocations: 30327)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 13857)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.3ms | Allocations: 28405)
Completed 200 OK in 48ms (Views: 38.3ms | ActiveRecord: 6.0ms | Allocations: 30342)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 28.9ms | Allocations: 13851)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.9ms | Allocations: 28395)
Completed 200 OK in 52ms (Views: 43.6ms | ActiveRecord: 5.2ms | Allocations: 30327)
Started GET “/products/16” for ::1 at 2022-02-05 13:04:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (3.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 28.8ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.8ms | Allocations: 28394)
Completed 200 OK in 54ms (Views: 41.3ms | ActiveRecord: 8.9ms | Allocations: 30325)
Started GET “/products/16” for ::1 at 2022-02-05 13:05:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 24.5ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 48.8ms | Allocations: 28394)
Completed 200 OK in 57ms (Views: 47.6ms | ActiveRecord: 5.2ms | Allocations: 30325)
Started GET “/products/16” for ::1 at 2022-02-05 13:06:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 29.8ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1304) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 51.2ms | Allocations: 28461)
Completed 200 OK in 59ms (Views: 50.7ms | ActiveRecord: 4.9ms | Allocations: 30393)
Started GET “/products/16” for ::1 at 2022-02-05 13:06:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 28.7ms | Allocations: 13877)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 1.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 62.8ms | Allocations: 28427)
Completed 200 OK in 75ms (Views: 64.6ms | ActiveRecord: 5.3ms | Allocations: 30364)
Started GET “/products/16” for ::1 at 2022-02-05 13:06:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 22.0ms | Allocations: 13850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1301) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 28395)
Completed 200 OK in 51ms (Views: 42.7ms | ActiveRecord: 5.0ms | Allocations: 30327)
Started GET “/products/16” for ::1 at 2022-02-05 13:09:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (2.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 31.6ms | Allocations: 13851)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 59.2ms | Allocations: 28456)
Completed 200 OK in 67ms (Views: 56.6ms | ActiveRecord: 6.5ms | Allocations: 30393)
Started POST “/products/16/reviews” for ::1 at 2022-02-05 13:09:57 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Another review", "content"=>"Some description again"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Another review"], ["content", "Some description again"], ["product_id", 16], ["user_id", 2], ["created_at", "2022-02-05 18:09:57.395502"], ["updated_at", "2022-02-05 18:09:57.395502"]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/16 Completed 200 OK in 18ms (ActiveRecord: 7.6ms | Allocations: 4360)
Started GET “/products/16” for ::1 at 2022-02-05 13:09:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (4.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (3.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (3.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (2.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 54.7ms | Allocations: 15618)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.7ms | Allocations: 29134)
Completed 200 OK in 81ms (Views: 61.8ms | ActiveRecord: 14.8ms | Allocations: 30276)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 13:26:48 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 30ms (ActiveRecord: 17.6ms | Allocations: 5184)
Started GET “/” for ::1 at 2022-02-05 13:26:48 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.2ms | Allocations: 115)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 34.4ms | Allocations: 13928)
Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.0ms | Allocations: 14897)
Started GET “/products” for ::1 at 2022-02-05 13:26:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.7ms | Allocations: 5066)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 32.8ms | Allocations: 19599)
Completed 200 OK in 37ms (Views: 31.5ms | ActiveRecord: 1.9ms | Allocations: 20304)
Started GET “/products/15” for ::1 at 2022-02-05 13:26:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 22.4ms | Allocations: 11356)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 24922)
Completed 200 OK in 48ms (Views: 42.0ms | ActiveRecord: 2.6ms | Allocations: 26064)
Started POST “/products/15/orders” for ::1 at 2022-02-05 13:26:52 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"15"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2880-BPV"], ["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Update (1.8ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 25], ["updated_at", "2022-02-05 18:26:52.582029"], ["id", 15]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 8.6ms | Allocations: 6094)
Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 6158)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 8.7ms | Allocations: 12609)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
61: <hr> 62: <div class='review-form'> 63: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 64: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 65: <%= f.input :title %> 66: <%= f.input :content, as: :text %> 67: <div class='text-right mt-5'>
app/views/products/show.html.erb:64 app/controllers/orders_controller.rb:20:in `create' Started GET “/products/15” for ::1 at 2022-02-05 13:26:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 10543)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 24105)
Completed 200 OK in 38ms (Views: 33.0ms | ActiveRecord: 1.9ms | Allocations: 25237)
Started GET “/users/sign_in” for ::1 at 2022-02-05 13:27:00 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 561) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 20.2ms | Allocations: 10206)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 47.4ms | Allocations: 24016)
Completed 200 OK in 55ms (Views: 53.4ms | ActiveRecord: 0.0ms | Allocations: 25533)
Started POST “/users/sign_in” for ::1 at 2022-02-05 13:27:08 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 224ms (ActiveRecord: 1.0ms | Allocations: 3453)
Started GET “/” for ::1 at 2022-02-05 13:27:08 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.6ms | Allocations: 15000)
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.8ms | Allocations: 15396)
Started GET “/products” for ::1 at 2022-02-05 13:27:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.6ms | Allocations: 5544)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 20189)
Completed 200 OK in 41ms (Views: 36.6ms | ActiveRecord: 2.5ms | Allocations: 20773)
Started GET “/products/16” for ::1 at 2022-02-05 13:27:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:33
[1m[36mReview Load (2.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:37
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:46
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 33.2ms | Allocations: 14563)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.4ms | Allocations: 28073)
Completed 200 OK in 55ms (Views: 45.3ms | ActiveRecord: 7.3ms | Allocations: 29213)
Started POST “/products/16/orders” for ::1 at 2022-02-05 13:27:14 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5160-BGJ"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 30], ["updated_at", "2022-02-05 18:27:14.723441"], ["id", 16]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (1.5ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 16], ["created_at", "2022-02-05 18:27:14.727762"], ["updated_at", "2022-02-05 18:27:14.727762"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 21ms (ActiveRecord: 8.9ms | Allocations: 7181)
Started GET “/orders” for ::1 at 2022-02-05 13:27:14 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 2324)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1835) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 26.6ms | Allocations: 17010)
Completed 200 OK in 28ms (Views: 23.7ms | ActiveRecord: 3.3ms | Allocations: 17544)
Started GET “/orders” for ::1 at 2022-02-05 13:27:55 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2144)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 2258) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 17910)
Completed 200 OK in 40ms (Views: 36.1ms | ActiveRecord: 2.9ms | Allocations: 19116)
Started DELETE “/orders/2?order_id=2” for ::1 at 2022-02-05 13:28:27 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"2", "id"=>"2"}
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (1.1ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 2]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.0ms | Allocations: 3221)
Started GET “/orders” for ::1 at 2022-02-05 13:28:27 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.8ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1847) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 15570)
Completed 200 OK in 22ms (Views: 19.3ms | ActiveRecord: 1.8ms | Allocations: 15978)
Started GET “/products” for ::1 at 2022-02-05 13:28:29 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 13.9ms | Allocations: 5902)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 20453)
Completed 200 OK in 38ms (Views: 32.9ms | ActiveRecord: 2.9ms | Allocations: 21609)
[1m[35m (1.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateTags (20220205184246)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (53.3ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::SchemaMigration Create (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220205184246"]]
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateTaggings (20220205184348)
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.7ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
, CONSTRAINT “fk_rails_5e1376a5c2” FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
)[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220205184348"]]
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateTaggings (20220205184348)
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.4ms)[0m [1m[35mDROP TABLE "taggings"[0m
[1m[36mActiveRecord::SchemaMigration Destroy (0.7ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20220205184348"]]
[1m[36mTRANSACTION (4.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (170.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (160.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (493.1ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (268.3ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (17.5ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (6.4ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205184246)[0m
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 19:07:13.167635"], ["updated_at", "2022-02-05 19:07:13.167635"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "6c1f91787cfa9f9fdc93247aed211e5e7467d8b8"], ["created_at", "2022-02-05 19:07:13.178900"], ["updated_at", "2022-02-05 19:07:13.178900"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205184246)[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 19:07:13.297761"], ["updated_at", "2022-02-05 19:07:13.297761"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 19:07:13.305078"], ["key", "environment"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "6c1f91787cfa9f9fdc93247aed211e5e7467d8b8"], ["created_at", "2022-02-05 19:07:13.311182"], ["updated_at", "2022-02-05 19:07:13.311182"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3959-XUO"], ["LIMIT", 1]]
[1m[36mProduct Create (2.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3959-XUO"], ["name", "Sleek Bronze Knife"], ["description", "Electronics & Kids"], ["price", 12.0], ["stock", 26], ["created_at", "2022-02-05 19:07:13.786962"], ["updated_at", "2022-02-05 19:07:13.786962"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9827-HYQ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1633-CNX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1633-CNX"], ["name", "Sleek Rubber Table"], ["description", "Beauty & Clothing"], ["price", 15.0], ["stock", 10], ["created_at", "2022-02-05 19:07:13.799482"], ["updated_at", "2022-02-05 19:07:13.799482"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9656-NWN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9656-NWN"], ["name", "Durable Concrete Plate"], ["description", "Baby & Computers"], ["price", 15.0], ["stock", 39], ["created_at", "2022-02-05 19:07:13.804889"], ["updated_at", "2022-02-05 19:07:13.804889"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5070-GNJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5070-GNJ"], ["name", "Intelligent Steel Car"], ["description", "Music, Automotive & Health"], ["price", 6.0], ["stock", 41], ["created_at", "2022-02-05 19:07:13.809900"], ["updated_at", "2022-02-05 19:07:13.809900"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6509-IRI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6509-IRI"], ["name", "Gorgeous Wooden Chair"], ["description", "Games & Health"], ["price", 3.0], ["stock", 17], ["created_at", "2022-02-05 19:07:13.814377"], ["updated_at", "2022-02-05 19:07:13.814377"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6442-BFK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6442-BFK"], ["name", "Gorgeous Copper Chair"], ["description", "Electronics"], ["price", 11.0], ["stock", 23], ["created_at", "2022-02-05 19:07:13.818955"], ["updated_at", "2022-02-05 19:07:13.818955"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2698-NWV"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8048-TST"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5677-ORN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5677-ORN"], ["name", "Intelligent Leather Pants"], ["description", "Jewelry & Automotive"], ["price", 1.0], ["stock", 47], ["created_at", "2022-02-05 19:07:13.857734"], ["updated_at", "2022-02-05 19:07:13.857734"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2816-HQT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2816-HQT"], ["name", "Fantastic Cotton Bottle"], ["description", "Games & Outdoors"], ["price", 12.0], ["stock", 13], ["created_at", "2022-02-05 19:07:13.864558"], ["updated_at", "2022-02-05 19:07:13.864558"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1622-KGB"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5630-VPJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5630-VPJ"], ["name", "Incredible Linen Shirt"], ["description", "Sports & Health"], ["price", 13.0], ["stock", 30], ["created_at", "2022-02-05 19:07:13.873652"], ["updated_at", "2022-02-05 19:07:13.873652"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4522-PHL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3942-RMV"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (147.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (141.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (414.8ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (315.3ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (4.2ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205184246)[0m
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 19:09:15.372433"], ["updated_at", "2022-02-05 19:09:15.372433"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "6c1f91787cfa9f9fdc93247aed211e5e7467d8b8"], ["created_at", "2022-02-05 19:09:15.381028"], ["updated_at", "2022-02-05 19:09:15.381028"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205184246)[0m
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435);
[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 19:09:15.485202"], ["updated_at", "2022-02-05 19:09:15.485202"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 19:09:15.491384"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "6c1f91787cfa9f9fdc93247aed211e5e7467d8b8"], ["created_at", "2022-02-05 19:09:15.496671"], ["updated_at", "2022-02-05 19:09:15.496671"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6396-SWA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6396-SWA"], ["name", "Fantastic Marble Lamp"], ["description", "Beauty, Kids & Books"], ["price", 14.0], ["stock", 44], ["created_at", "2022-02-05 19:09:15.892480"], ["updated_at", "2022-02-05 19:09:15.892480"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2221-RJF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2221-RJF"], ["name", "Enormous Aluminum Clock"], ["description", "Shoes, Industrial & Beauty"], ["price", 12.0], ["stock", 24], ["created_at", "2022-02-05 19:09:15.897985"], ["updated_at", "2022-02-05 19:09:15.897985"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3351-GHT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3351-GHT"], ["name", "Sleek Concrete Bag"], ["description", "Sports, Movies & Music"], ["price", 3.0], ["stock", 24], ["created_at", "2022-02-05 19:09:15.902560"], ["updated_at", "2022-02-05 19:09:15.902560"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4027-LCB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4027-LCB"], ["name", "Ergonomic Wool Knife"], ["description", "Computers & Beauty"], ["price", 4.0], ["stock", 23], ["created_at", "2022-02-05 19:09:15.907350"], ["updated_at", "2022-02-05 19:09:15.907350"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5686-EZE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5686-EZE"], ["name", "Synergistic Silk Hat"], ["description", "Electronics"], ["price", 6.0], ["stock", 47], ["created_at", "2022-02-05 19:09:15.911964"], ["updated_at", "2022-02-05 19:09:15.911964"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6435-EIR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6435-EIR"], ["name", "Aerodynamic Steel Plate"], ["description", "Outdoors & Jewelry"], ["price", 6.0], ["stock", 17], ["created_at", "2022-02-05 19:09:15.916518"], ["updated_at", "2022-02-05 19:09:15.916518"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2472-LNI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2472-LNI"], ["name", "Heavy Duty Cotton Wallet"], ["description", "Computers & Jewelry"], ["price", 11.0], ["stock", 43], ["created_at", "2022-02-05 19:09:15.921743"], ["updated_at", "2022-02-05 19:09:15.921743"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3041-VBR"], ["LIMIT", 1]]
[1m[36mProduct Create (1.8ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3041-VBR"], ["name", "Incredible Bronze Keyboard"], ["description", "Shoes & Industrial"], ["price", 4.0], ["stock", 29], ["created_at", "2022-02-05 19:09:15.927258"], ["updated_at", "2022-02-05 19:09:15.927258"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6583-OAB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6583-OAB"], ["name", "Durable Wool Pants"], ["description", "Computers, Industrial & Sports"], ["price", 6.0], ["stock", 37], ["created_at", "2022-02-05 19:09:15.936572"], ["updated_at", "2022-02-05 19:09:15.936572"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8291-TQV"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6394-APQ"], ["LIMIT", 1]]
[1m[36mProduct Create (2.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6394-APQ"], ["name", "Gorgeous Silk Plate"], ["description", "Electronics & Shoes"], ["price", 11.0], ["stock", 25], ["created_at", "2022-02-05 19:09:15.949180"], ["updated_at", "2022-02-05 19:09:15.949180"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1747-WAL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1747-WAL"], ["name", "Rustic Silk Plate"], ["description", "Shoes, Baby & Computers"], ["price", 9.0], ["stock", 27], ["created_at", "2022-02-05 19:09:15.959913"], ["updated_at", "2022-02-05 19:09:15.959913"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8367-TUA"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7341-CLG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7341-CLG"], ["name", "Small Bronze Coat"], ["description", "Shoes, Movies & Grocery"], ["price", 3.0], ["stock", 42], ["created_at", "2022-02-05 19:09:15.971086"], ["updated_at", "2022-02-05 19:09:15.971086"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2200-ZFE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2200-ZFE"], ["name", "Aerodynamic Steel Coat"], ["description", "Industrial & Books"], ["price", 3.0], ["stock", 27], ["created_at", "2022-02-05 19:09:15.976885"], ["updated_at", "2022-02-05 19:09:15.976885"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (18.7ms)[0m [1m[35mDROP TABLE "tags"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateTags (20220205203243)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220205203243"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateTaggings (20220205203317)
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
, CONSTRAINT “fk_rails_5e1376a5c2” FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220205203317"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/products” for ::1 at 2022-02-05 15:57:53 -0500
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 28.1ms | Allocations: 10913)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 11.0ms | Allocations: 2923) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 201) Rendered layout layouts/application.html.erb (Duration: 71.1ms | Allocations: 27199)
Completed 200 OK in 98ms (Views: 69.3ms | ActiveRecord: 6.4ms | Allocations: 31765)
Started GET “/products/new” for ::1 at 2022-02-05 15:57:55 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 228)
Started GET “/users/sign_in” for ::1 at 2022-02-05 15:57:55 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 17.1ms | Allocations: 9453)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 33.2ms | Allocations: 23159)
Completed 200 OK in 48ms (Views: 36.0ms | ActiveRecord: 0.0ms | Allocations: 29599)
Started POST “/users/sign_in” for ::1 at 2022-02-05 15:58:02 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 6ms (ActiveRecord: 1.0ms | Allocations: 1645)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 11.3ms | Allocations: 8752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 50) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 22412)
Completed 200 OK in 246ms (Views: 28.4ms | ActiveRecord: 0.0ms | Allocations: 22991)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (2.1ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "admin") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$yWlWy5tNRh5r/AeAIDKIguWrs4c4dF2wOT.jzQKkOW.qcfhWJsUsK"], ["created_at", "2022-02-05 21:00:01.214099"], ["updated_at", "2022-02-05 21:00:01.214099"], ["admin", true]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
Started POST “/users/sign_in” for ::1 at 2022-02-05 16:00:09 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 235ms (ActiveRecord: 10.2ms | Allocations: 9792)
Started GET “/products/new” for ::1 at 2022-02-05 16:00:10 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 26.1ms | Allocations: 16920)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 50.1ms | Allocations: 30648)
Completed 200 OK in 69ms (Views: 50.8ms | ActiveRecord: 5.8ms | Allocations: 39167)
Started GET “/products/new” for ::1 at 2022-02-05 16:02:15 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 13.6ms | Allocations: 12806) Rendered layout layouts/application.html.erb (Duration: 13.8ms | Allocations: 12870)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.2ms | Allocations: 15314)
ActionView::Template::Error (no implicit conversion of Symbol into Integer):
8: <%= f.input :description, as: :text %> 9: <%= f.input :price %> 10: <%= f.input :stock %> 11: <%= f.input :tag_list, 'Tags separated by commas' %> 12: </div> 13: 14: <div class="form-actions">
app/views/products/new.html.erb:11 app/views/products/new.html.erb:4 Started GET “/products/new” for ::1 at 2022-02-05 16:02:20 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 1.1ms | Allocations: 1256) Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 1321)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.0ms | Allocations: 3767)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Insert new product</h1>
<div class='user-form'>
<%= simple_form_for(@product) do |f| %>
<div class="form-inputs">
<%= f.input :sku, label: 'SKU' %>
<%= f.input :name %>
<%= f.input :description, as: :text %>
<%= f.input :price %>
<%= f.input :stock %>
<%= f.input :tag_list 'Tags separated by commas' %>
</div>
<div class="form-actions">
<%= f.submit 'Add product', class: 'btn btn-primary' %>
</div>
<% end %>
</div> ): 1: <h1>Insert new product</h1> 2:
3: <div class='user-form'> 4: <%= simple_form_for(@product) do |f| %> 5: <div class=“form-inputs”> 6: <%= f.input :sku, label: 'SKU' %> 7: <%= f.input :name %> 8: <%= f.input :description, as: :text %> 9: <%= f.input :price %> 10: <%= f.input :stock %> 11: <%= f.input :tag_list 'Tags separated by commas' %> 12: </div> 13:
14: <div class=“form-actions”> 15: <%= f.submit 'Add product', class: 'btn btn-primary' %> 16: </div> 17: <% end %> 18: </div>
app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' app/views/products/new.html.erb:11: syntax error, unexpected string literal, expecting ')' Started GET “/users/sign_in” for ::1 at 2022-02-05 16:02:45 -0500 Processing by Devise::SessionsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.9ms | Allocations: 1586)
Started GET “/” for ::1 at 2022-02-05 16:02:45 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.0ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.0ms | Allocations: 2461) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 205) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 16053)
Completed 200 OK in 39ms (Views: 36.9ms | ActiveRecord: 1.4ms | Allocations: 17099)
Started GET “/” for ::1 at 2022-02-05 16:02:57 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 2036) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 14928)
Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 1.0ms | Allocations: 15317)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 16:02:59 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms | Allocations: 2039)
Started GET “/” for ::1 at 2022-02-05 16:02:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 946) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 17.2ms | Allocations: 13842)
Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.0ms | Allocations: 14233)
Started GET “/users/sign_in” for ::1 at 2022-02-05 16:03:01 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 19.6ms | Allocations: 9571)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 40.3ms | Allocations: 24123)
Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms | Allocations: 25637)
Started GET “/users/sign_up” for ::1 at 2022-02-05 16:03:02 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.5ms | Allocations: 143) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 21.7ms | Allocations: 14277)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 40.6ms | Allocations: 28859)
Completed 200 OK in 45ms (Views: 43.4ms | ActiveRecord: 0.0ms | Allocations: 30093)
Started GET “/users/sign_up” for ::1 at 2022-02-05 16:04:04 -0500 Processing by Devise::RegistrationsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/registrations/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.1ms | Allocations: 482) Rendered devise/registrations/new.html.erb within layouts/application (Duration: 22.3ms | Allocations: 14240)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1334) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 50.5ms | Allocations: 28961)
Completed 200 OK in 58ms (Views: 57.6ms | ActiveRecord: 0.0ms | Allocations: 30634)
Started GET “/products” for ::1 at 2022-02-05 16:04:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 15.5ms | Allocations: 8202)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 21857)
Completed 200 OK in 38ms (Views: 34.2ms | ActiveRecord: 1.4ms | Allocations: 23036)
Started GET “/products/new” for ::1 at 2022-02-05 16:04:07 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-02-05 16:04:07 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.7ms | Allocations: 8981)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 29.3ms | Allocations: 22776)
Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.0ms | Allocations: 23983)
Started POST “/users/sign_in” for ::1 at 2022-02-05 16:04:13 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 223ms (ActiveRecord: 0.9ms | Allocations: 3427)
Started GET “/products/new” for ::1 at 2022-02-05 16:04:13 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 16.7ms | Allocations: 12676)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 31.6ms | Allocations: 26400)
Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.6ms | Allocations: 28200)
Started GET “/products/new” for ::1 at 2022-02-05 16:05:20 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 14.2ms | Allocations: 12643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1334) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 27334)
Completed 200 OK in 47ms (Views: 42.3ms | ActiveRecord: 0.8ms | Allocations: 29807)
Started GET “/products” for ::1 at 2022-02-05 16:05:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.0ms | Allocations: 7291)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 2562) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 31.0ms | Allocations: 22604)
Completed 200 OK in 34ms (Views: 29.0ms | ActiveRecord: 2.8ms | Allocations: 23333)
Started GET “/products/13” for ::1 at 2022-02-05 16:05:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:68
Rendered products/show.html.erb within layouts/application (Duration: 25.4ms | Allocations: 13682)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 27200)
Completed 200 OK in 90ms (Views: 40.3ms | ActiveRecord: 18.6ms | Allocations: 38734)
Started GET “/products/13/edit” for ::1 at 2022-02-05 16:05:24 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
[1m[36mCACHE Product Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:32:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (3.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 37.5ms | Allocations: 18049)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 52.6ms | Allocations: 31703)
Completed 200 OK in 61ms (Views: 40.5ms | ActiveRecord: 14.7ms | Allocations: 34443)
Started GET “/users/edit” for ::1 at 2022-02-05 16:09:00 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 19.1ms | Allocations: 14597)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 46.6ms | Allocations: 28307)
Completed 200 OK in 68ms (Views: 49.5ms | ActiveRecord: 7.6ms | Allocations: 36963)
Started PUT “/users” for ::1 at 2022-02-05 16:09:40 -0500 Processing by Devise::RegistrationsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "first_name"=>"Admin", "last_name"=>"Applaudo Studios", "address"=>"Salvador", "phone"=>"123-456-7890", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]"}, "commit"=>"Update"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Update (1.0ms)[0m [1m[33mUPDATE "users" SET "updated_at" = $1, "first_name" = $2, "last_name" = $3, "address" = $4, "phone" = $5 WHERE "users"."id" = $6[0m [["updated_at", "2022-02-05 21:09:40.777949"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["id", 1]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
Redirected to localhost:3000/ Completed 302 Found in 238ms (ActiveRecord: 5.4ms | Allocations: 8476)
Started GET “/” for ::1 at 2022-02-05 16:09:40 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.0ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 2041) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 15032)
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.8ms | Allocations: 16077)
Started GET “/users/edit” for ::1 at 2022-02-05 16:09:44 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 20.4ms | Allocations: 13789)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 28340)
Completed 200 OK in 42ms (Views: 37.4ms | ActiveRecord: 1.0ms | Allocations: 30075)
Started GET “/products” for ::1 at 2022-02-05 16:09:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 27.2ms | Allocations: 12285)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 50.2ms | Allocations: 27821)
Completed 200 OK in 59ms (Views: 42.6ms | ActiveRecord: 9.3ms | Allocations: 31864)
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (2.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
[1m[36mProduct Destroy (2.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 3]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 6]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 7]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 8]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 9]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 10]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 10]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 11]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 11]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 12]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 13]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 13]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (1.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-05 21:16:32.440861"], ["updated_at", "2022-02-05 21:16:32.440861"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-05 21:16:32.446628"], ["updated_at", "2022-02-05 21:16:32.446628"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2462-SDB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2462-SDB"], ["name", "Incredible Linen Car"], ["description", "Shoes & Electronics"], ["price", 1.0], ["stock", 37], ["created_at", "2022-02-05 21:16:32.472448"], ["updated_at", "2022-02-05 21:16:32.472448"]]
[1m[36mTagging Create (1.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 14], ["created_at", "2022-02-05 21:16:32.474243"], ["updated_at", "2022-02-05 21:16:32.474243"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 14], ["created_at", "2022-02-05 21:16:32.477212"], ["updated_at", "2022-02-05 21:16:32.477212"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-05 21:16:32.481284"], ["updated_at", "2022-02-05 21:16:32.481284"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-05 21:16:32.485430"], ["updated_at", "2022-02-05 21:16:32.485430"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9977-DWS"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9977-DWS"], ["name", "Durable Leather Clock"], ["description", "Sports, Kids & Clothing"], ["price", 12.0], ["stock", 46], ["created_at", "2022-02-05 21:16:32.491390"], ["updated_at", "2022-02-05 21:16:32.491390"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 15], ["created_at", "2022-02-05 21:16:32.492884"], ["updated_at", "2022-02-05 21:16:32.492884"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 15], ["created_at", "2022-02-05 21:16:32.494391"], ["updated_at", "2022-02-05 21:16:32.494391"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-05 21:16:32.498169"], ["updated_at", "2022-02-05 21:16:32.498169"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-05 21:16:32.501729"], ["updated_at", "2022-02-05 21:16:32.501729"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9534-USO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9534-USO"], ["name", "Incredible Iron Watch"], ["description", "Kids, Automotive & Computers"], ["price", 10.0], ["stock", 24], ["created_at", "2022-02-05 21:16:32.508234"], ["updated_at", "2022-02-05 21:16:32.508234"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 16], ["created_at", "2022-02-05 21:16:32.509732"], ["updated_at", "2022-02-05 21:16:32.509732"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 16], ["created_at", "2022-02-05 21:16:32.511225"], ["updated_at", "2022-02-05 21:16:32.511225"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-05 21:16:32.515623"], ["updated_at", "2022-02-05 21:16:32.515623"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7211-MOL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7211-MOL"], ["name", "Incredible Marble Wallet"], ["description", "Movies, Sports & Grocery"], ["price", 6.0], ["stock", 34], ["created_at", "2022-02-05 21:16:32.523222"], ["updated_at", "2022-02-05 21:16:32.523222"]]
[1m[36mTagging Create (1.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 17], ["created_at", "2022-02-05 21:16:32.524678"], ["updated_at", "2022-02-05 21:16:32.524678"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 17], ["created_at", "2022-02-05 21:16:32.527408"], ["updated_at", "2022-02-05 21:16:32.527408"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-05 21:16:32.532326"], ["updated_at", "2022-02-05 21:16:32.532326"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7686-QCP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7686-QCP"], ["name", "Intelligent Silk Shirt"], ["description", "Automotive"], ["price", 15.0], ["stock", 37], ["created_at", "2022-02-05 21:16:32.538862"], ["updated_at", "2022-02-05 21:16:32.538862"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 18], ["created_at", "2022-02-05 21:16:32.540422"], ["updated_at", "2022-02-05 21:16:32.540422"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 18], ["created_at", "2022-02-05 21:16:32.541795"], ["updated_at", "2022-02-05 21:16:32.541795"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mCACHE Tag Load (0.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6159-BJO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6159-BJO"], ["name", "Sleek Bronze Plate"], ["description", "Baby, Electronics & Toys"], ["price", 14.0], ["stock", 26], ["created_at", "2022-02-05 21:16:32.548836"], ["updated_at", "2022-02-05 21:16:32.548836"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 19], ["created_at", "2022-02-05 21:16:32.550568"], ["updated_at", "2022-02-05 21:16:32.550568"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 19], ["created_at", "2022-02-05 21:16:32.552112"], ["updated_at", "2022-02-05 21:16:32.552112"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-05 21:16:32.557331"], ["updated_at", "2022-02-05 21:16:32.557331"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6464-UQR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6464-UQR"], ["name", "Rustic Plastic Keyboard"], ["description", "Outdoors & Tools"], ["price", 12.0], ["stock", 36], ["created_at", "2022-02-05 21:16:32.563593"], ["updated_at", "2022-02-05 21:16:32.563593"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 20], ["created_at", "2022-02-05 21:16:32.565362"], ["updated_at", "2022-02-05 21:16:32.565362"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 20], ["created_at", "2022-02-05 21:16:32.567236"], ["updated_at", "2022-02-05 21:16:32.567236"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7171-TVK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7171-TVK"], ["name", "Gorgeous Wool Hat"], ["description", "Outdoors & Automotive"], ["price", 5.0], ["stock", 28], ["created_at", "2022-02-05 21:16:32.576303"], ["updated_at", "2022-02-05 21:16:32.576303"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 21], ["created_at", "2022-02-05 21:16:32.577647"], ["updated_at", "2022-02-05 21:16:32.577647"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 21], ["created_at", "2022-02-05 21:16:32.579058"], ["updated_at", "2022-02-05 21:16:32.579058"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-05 21:16:32.582760"], ["updated_at", "2022-02-05 21:16:32.582760"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1505-HZD"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8867-NMW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8867-NMW"], ["name", "Awesome Wool Clock"], ["description", "Health, Shoes & Clothing"], ["price", 13.0], ["stock", 13], ["created_at", "2022-02-05 21:16:32.595522"], ["updated_at", "2022-02-05 21:16:32.595522"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 22], ["created_at", "2022-02-05 21:16:32.596981"], ["updated_at", "2022-02-05 21:16:32.596981"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 22], ["created_at", "2022-02-05 21:16:32.598425"], ["updated_at", "2022-02-05 21:16:32.598425"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3293-MVG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3293-MVG"], ["name", "Fantastic Marble Shoes"], ["description", "Shoes & Computers"], ["price", 15.0], ["stock", 27], ["created_at", "2022-02-05 21:16:32.606319"], ["updated_at", "2022-02-05 21:16:32.606319"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 23], ["created_at", "2022-02-05 21:16:32.607712"], ["updated_at", "2022-02-05 21:16:32.607712"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 23], ["created_at", "2022-02-05 21:16:32.609298"], ["updated_at", "2022-02-05 21:16:32.609298"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5844-MWJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2644-GHH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2644-GHH"], ["name", "Ergonomic Concrete Watch"], ["description", "Toys, Shoes & Tools"], ["price", 3.0], ["stock", 35], ["created_at", "2022-02-05 21:16:32.623579"], ["updated_at", "2022-02-05 21:16:32.623579"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 24], ["created_at", "2022-02-05 21:16:32.625119"], ["updated_at", "2022-02-05 21:16:32.625119"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 24], ["created_at", "2022-02-05 21:16:32.626644"], ["updated_at", "2022-02-05 21:16:32.626644"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9118-NXL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9118-NXL"], ["name", "Lightweight Silk Pants"], ["description", "Industrial"], ["price", 5.0], ["stock", 24], ["created_at", "2022-02-05 21:16:32.635562"], ["updated_at", "2022-02-05 21:16:32.635562"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 25], ["created_at", "2022-02-05 21:16:32.637236"], ["updated_at", "2022-02-05 21:16:32.637236"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 25], ["created_at", "2022-02-05 21:16:32.639106"], ["updated_at", "2022-02-05 21:16:32.639106"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-05 21:16:32.643763"], ["updated_at", "2022-02-05 21:16:32.643763"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7936-IVU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7936-IVU"], ["name", "Gorgeous Bronze Lamp"], ["description", "Electronics"], ["price", 2.0], ["stock", 32], ["created_at", "2022-02-05 21:16:32.649951"], ["updated_at", "2022-02-05 21:16:32.649951"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 26], ["created_at", "2022-02-05 21:16:32.651504"], ["updated_at", "2022-02-05 21:16:32.651504"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 26], ["created_at", "2022-02-05 21:16:32.652828"], ["updated_at", "2022-02-05 21:16:32.652828"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
Started GET “/products” for ::1 at 2022-02-05 16:22:51 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 11.6ms | Allocations: 7418)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.6ms | Allocations: 2511) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 42.9ms | Allocations: 23272)
Completed 200 OK in 68ms (Views: 41.7ms | ActiveRecord: 15.9ms | Allocations: 27590)
Started GET “/products” for ::1 at 2022-02-05 16:22:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.8ms | Allocations: 7034)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.3ms | Allocations: 21583)
Completed 200 OK in 51ms (Views: 46.5ms | ActiveRecord: 2.9ms | Allocations: 22164)
Started GET “/products/26” for ::1 at 2022-02-05 16:23:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"26"}
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 13775)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 45.8ms | Allocations: 27354)
Completed 200 OK in 96ms (Views: 43.5ms | ActiveRecord: 25.7ms | Allocations: 39136)
Started GET “/products” for ::1 at 2022-02-05 16:24:10 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 Rendered products/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 5472) Rendered layout layouts/application.html.erb (Duration: 9.4ms | Allocations: 5536)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.1ms | Allocations: 6888)
ActionView::Template::Error (undefined local variable or method `article' for #<ActionView::Base:0x00000000021ae8>):
7: <div class='products-container mt-5'>
8: <% @products.each do |product| %>
9: <div class="card" style="width: 18rem;">
10: <%= article.tags.map(&:name).map { |t| link_to t, tag_path(t) }.join(', ') %>
11: <%= link_to product_path(product) do %>
12: <%= image_tag('snack_store.png', class: 'card-img-top', style: 'background-color: black;') %>
13: <% end %>
app/views/products/index.html.erb:10 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-02-05 16:24:21 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 32.8ms | Allocations: 12751) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 12815)
Completed 500 Internal Server Error in 43ms (ActiveRecord: 11.6ms | Allocations: 14167)
ActionView::Template::Error (undefined method `tag_path' for #<ActionView::Base:0x00000000021fc0> Did you mean? image_path):
7: <div class='products-container mt-5'>
8: <% @products.each do |product| %>
9: <div class="card" style="width: 18rem;">
10: <%= product.tags.map(&:name).map { |t| link_to t, tag_path(t) }.join(', ') %>
11: <%= link_to product_path(product) do %>
12: <%= image_tag('snack_store.png', class: 'card-img-top', style: 'background-color: black;') %>
13: <% end %>
app/views/products/index.html.erb:10 app/views/products/index.html.erb:10:in `map' app/views/products/index.html.erb:10 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-02-05 16:27:08 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.6ms | Allocations: 20454)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 73.3ms | Allocations: 36090)
Completed 200 OK in 78ms (Views: 61.4ms | ActiveRecord: 14.1ms | Allocations: 37471)
Started GET “/products” for ::1 at 2022-02-05 16:28:37 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 53.6ms | Allocations: 20469)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 79.9ms | Allocations: 36104)
Completed 200 OK in 88ms (Views: 65.1ms | ActiveRecord: 19.7ms | Allocations: 37485)
Started GET “/products” for ::1 at 2022-02-05 16:29:03 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.8ms | Allocations: 20473)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 59.4ms | Allocations: 36047)
Completed 200 OK in 67ms (Views: 49.5ms | ActiveRecord: 14.2ms | Allocations: 37421)
Started GET “/products” for ::1 at 2022-02-05 16:32:01 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 43.3ms | Allocations: 20155)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.8ms | Allocations: 1812) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 2169.9ms | Allocations: 124601)
Completed 200 OK in 2172ms (Views: 2155.1ms | ActiveRecord: 15.3ms | Allocations: 125182)
Started GET “/products” for ::1 at 2022-02-05 16:32:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 47.6ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 98.5ms | Allocations: 34697)
Completed 200 OK in 102ms (Views: 83.5ms | ActiveRecord: 16.1ms | Allocations: 35278)
Started GET “/products” for ::1 at 2022-02-05 16:32:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (3.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 48.0ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1455.1ms | Allocations: 121999)
Completed 200 OK in 1457ms (Views: 1437.9ms | ActiveRecord: 17.7ms | Allocations: 122580)
Started GET “/products” for ::1 at 2022-02-05 16:32:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.5ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.3ms | Allocations: 34697)
Completed 200 OK in 57ms (Views: 41.9ms | ActiveRecord: 13.8ms | Allocations: 35277)
Started GET “/products” for ::1 at 2022-02-05 16:32:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 37.7ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1339.4ms | Allocations: 125941)
Completed 200 OK in 1342ms (Views: 1325.4ms | ActiveRecord: 14.6ms | Allocations: 126521)
Started GET “/products” for ::1 at 2022-02-05 16:32:53 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.4ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1207.4ms | Allocations: 124595)
Completed 200 OK in 1210ms (Views: 1194.2ms | ActiveRecord: 13.7ms | Allocations: 125175)
Started GET “/products” for ::1 at 2022-02-05 16:32:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 45.0ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.2ms | Allocations: 34699)
Completed 200 OK in 67ms (Views: 49.6ms | ActiveRecord: 15.2ms | Allocations: 35279)
Started GET “/products” for ::1 at 2022-02-05 16:33:24 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 41.2ms | Allocations: 20481)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 63.3ms | Allocations: 36104)
Completed 200 OK in 69ms (Views: 52.0ms | ActiveRecord: 14.6ms | Allocations: 37484)
Started GET “/products” for ::1 at 2022-02-05 16:33:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.1ms | Allocations: 20155)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.7ms | Allocations: 34710)
Completed 200 OK in 60ms (Views: 43.9ms | ActiveRecord: 14.3ms | Allocations: 35291)
Started GET “/products” for ::1 at 2022-02-05 16:33:44 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.1ms | Allocations: 20266)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.6ms | Allocations: 34812)
Completed 200 OK in 58ms (Views: 41.8ms | ActiveRecord: 14.3ms | Allocations: 35392)
Started GET “/products” for ::1 at 2022-02-05 16:33:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.7ms | Allocations: 20474)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 62.7ms | Allocations: 36111)
Completed 200 OK in 67ms (Views: 49.5ms | ActiveRecord: 15.3ms | Allocations: 37485)
Started GET “/products” for ::1 at 2022-02-05 16:34:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:15:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:15:in `map' Rendered products/index.html.erb within layouts/application (Duration: 38.4ms | Allocations: 20483)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 58.2ms | Allocations: 36124)
Completed 200 OK in 63ms (Views: 47.6ms | ActiveRecord: 13.3ms | Allocations: 37505)
Started GET “/products” for ::1 at 2022-02-05 16:35:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.6ms | Allocations: 20472)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.3ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 1547.7ms | Allocations: 125950)
Completed 200 OK in 1553ms (Views: 1536.5ms | ActiveRecord: 14.1ms | Allocations: 127324)
Started GET “/products” for ::1 at 2022-02-05 16:35:35 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.6ms | Allocations: 20155)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1274.6ms | Allocations: 125477)
Completed 200 OK in 1277ms (Views: 1260.7ms | ActiveRecord: 14.4ms | Allocations: 126058)
Started GET “/products” for ::1 at 2022-02-05 16:35:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 47.7ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1276.1ms | Allocations: 125494)
Completed 200 OK in 1278ms (Views: 1260.8ms | ActiveRecord: 15.7ms | Allocations: 126074)
Started GET “/products” for ::1 at 2022-02-05 16:36:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 76.2ms | Allocations: 20152)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1264.6ms | Allocations: 124577)
Completed 200 OK in 1267ms (Views: 1250.0ms | ActiveRecord: 15.2ms | Allocations: 125157)
Started GET “/products” for ::1 at 2022-02-05 16:36:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.8ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1252.1ms | Allocations: 125497)
Completed 200 OK in 1254ms (Views: 1239.0ms | ActiveRecord: 13.6ms | Allocations: 126078)
Started GET “/products” for ::1 at 2022-02-05 16:36:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 43.3ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1234.5ms | Allocations: 125053)
Completed 200 OK in 1237ms (Views: 1220.0ms | ActiveRecord: 15.0ms | Allocations: 125633)
Started GET “/products” for ::1 at 2022-02-05 16:36:53 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.1ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1357.6ms | Allocations: 124602)
Completed 200 OK in 1360ms (Views: 1341.4ms | ActiveRecord: 16.7ms | Allocations: 125182)
Started GET “/products/23” for ::1 at 2022-02-05 16:37:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 24.3ms | Allocations: 13114)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 43.9ms | Allocations: 26774)
Completed 200 OK in 49ms (Views: 41.3ms | ActiveRecord: 4.2ms | Allocations: 28039)
Started GET “/products/undefined” for ::1 at 2022-02-05 16:37:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"undefined"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", nil], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:53:in `set_product'
Completed 404 Not Found in 3ms (ActiveRecord: 0.8ms | Allocations: 1279)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=undefined):
app/controllers/products_controller.rb:53:in `set_product' Started GET “/products” for ::1 at 2022-02-05 16:37:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (3.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 77.3ms | Allocations: 21057) Rendered layout layouts/application.html.erb (Duration: 281.9ms | Allocations: 58136)
Completed 500 Internal Server Error in 285ms (ActiveRecord: 23.9ms | Allocations: 58689)
ActionView::Template::Error (Error: Invalid CSS after “… border-radius”: expected “}”, was “: 5px;”
on line 16:13 of app/assets/stylesheets/products/_index.scss from line 16:1 of app/assets/stylesheets/application.scss
>> border-radius: 5px;
------------^
):
7: <%= csp_meta_tag %> 8: 9: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 11: 12: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %> 13: </head>
app/assets/stylesheets/products/_index.scss:16 app/views/layouts/application.html.erb:10 Started GET “/products” for ::1 at 2022-02-05 16:37:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.2ms | Allocations: 20151) Rendered layout layouts/application.html.erb (Duration: 146.5ms | Allocations: 56698)
Completed 500 Internal Server Error in 149ms (ActiveRecord: 12.1ms | Allocations: 57250)
ActionView::Template::Error (Error: Invalid CSS after “… border-radius”: expected “}”, was “: 5px;”
on line 16:13 of app/assets/stylesheets/products/_index.scss from line 16:1 of app/assets/stylesheets/application.scss
>> border-radius: 5px;
------------^
):
7: <%= csp_meta_tag %> 8: 9: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 10: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 11: 12: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %> 13: </head>
app/assets/stylesheets/products/_index.scss:16 app/views/layouts/application.html.erb:10 Started GET “/products” for ::1 at 2022-02-05 16:37:34 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.6ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1476.3ms | Allocations: 124990)
Completed 200 OK in 1479ms (Views: 1462.5ms | ActiveRecord: 14.2ms | Allocations: 125570)
Started GET “/products” for ::1 at 2022-02-05 16:38:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.8ms | Allocations: 20152)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1238.2ms | Allocations: 125024)
Completed 200 OK in 1240ms (Views: 1223.2ms | ActiveRecord: 15.6ms | Allocations: 125604)
Started GET “/products” for ::1 at 2022-02-05 16:38:37 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:10:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:10:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.3ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1229.1ms | Allocations: 125947)
Completed 200 OK in 1232ms (Views: 1214.6ms | ActiveRecord: 15.3ms | Allocations: 126527)
Started GET “/products” for ::1 at 2022-02-05 16:39:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 44.3ms | Allocations: 20489)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 65.8ms | Allocations: 36072)
Completed 200 OK in 73ms (Views: 54.9ms | ActiveRecord: 15.1ms | Allocations: 37453)
Started GET “/products” for ::1 at 2022-02-05 16:40:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 48.8ms | Allocations: 20155)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1286.2ms | Allocations: 124570)
Completed 200 OK in 1289ms (Views: 1268.6ms | ActiveRecord: 18.1ms | Allocations: 125151)
Started GET “/products” for ::1 at 2022-02-05 16:40:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.3ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1309.3ms | Allocations: 125958)
Completed 200 OK in 1312ms (Views: 1293.2ms | ActiveRecord: 16.7ms | Allocations: 126539)
Started GET “/products” for ::1 at 2022-02-05 16:40:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.5ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1272.7ms | Allocations: 125010)
Completed 200 OK in 1275ms (Views: 1258.7ms | ActiveRecord: 14.5ms | Allocations: 125591)
Started GET “/products” for ::1 at 2022-02-05 16:41:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.4ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1264.0ms | Allocations: 124556)
Completed 200 OK in 1266ms (Views: 1250.8ms | ActiveRecord: 13.6ms | Allocations: 125136)
Started GET “/products” for ::1 at 2022-02-05 16:41:18 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 39.2ms | Allocations: 20152)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1267.7ms | Allocations: 125511)
Completed 200 OK in 1270ms (Views: 1254.4ms | ActiveRecord: 13.8ms | Allocations: 126091)
Started GET “/products” for ::1 at 2022-02-05 16:41:24 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.4ms | Allocations: 20149)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1218.4ms | Allocations: 125035)
Completed 200 OK in 1220ms (Views: 1204.6ms | ActiveRecord: 14.3ms | Allocations: 125615)
Started GET “/products” for ::1 at 2022-02-05 16:41:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.9ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1212.6ms | Allocations: 125002)
Completed 200 OK in 1215ms (Views: 1198.2ms | ActiveRecord: 14.8ms | Allocations: 125582)
Started GET “/products” for ::1 at 2022-02-05 16:41:34 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 47.1ms | Allocations: 20153)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1229.3ms | Allocations: 125486)
Completed 200 OK in 1232ms (Views: 1214.9ms | ActiveRecord: 14.9ms | Allocations: 126066)
Started GET “/products” for ::1 at 2022-02-05 16:41:48 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.7ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1243.4ms | Allocations: 125514)
Completed 200 OK in 1246ms (Views: 1229.6ms | ActiveRecord: 14.5ms | Allocations: 126094)
Started GET “/products” for ::1 at 2022-02-05 16:41:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 40.1ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1217.4ms | Allocations: 125957)
Completed 200 OK in 1219ms (Views: 1203.6ms | ActiveRecord: 14.3ms | Allocations: 126537)
Started GET “/products” for ::1 at 2022-02-05 16:42:02 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 41.0ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1244.3ms | Allocations: 125961)
Completed 200 OK in 1247ms (Views: 1230.1ms | ActiveRecord: 14.7ms | Allocations: 126541)
Started GET “/products” for ::1 at 2022-02-05 16:42:16 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.7ms | Allocations: 20152)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1258.9ms | Allocations: 124560)
Completed 200 OK in 1261ms (Views: 1244.0ms | ActiveRecord: 15.4ms | Allocations: 125140)
Started GET “/products” for ::1 at 2022-02-05 16:42:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.4ms | Allocations: 20151)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.7ms | Allocations: 35240)
Completed 200 OK in 74ms (Views: 57.3ms | ActiveRecord: 14.9ms | Allocations: 35821)
Started GET “/products” for ::1 at 2022-02-05 16:46:16 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 43.9ms | Allocations: 17080) Rendered layout layouts/application.html.erb (Duration: 44.1ms | Allocations: 17144)
Completed 500 Internal Server Error in 57ms (ActiveRecord: 17.7ms | Allocations: 21622)
ActionView::Template::Error (undefined method `linkt_to' for #<ActionView::Base:0x00000000025fa8> Did you mean? link_to):
10: <div class='product-tags'> 11: <% product.tags.map(&:name).each do |tag| %> 12: <p class='product-tag'> 13: <%= linkt_to tag, tag_path(tag) %> 14: </p> 15: <% end %> 16: </div>
app/views/products/index.html.erb:13 app/views/products/index.html.erb:11:in `each' app/views/products/index.html.erb:11 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-02-05 16:49:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:9:in `map' Rendered products/index.html.erb within layouts/application (Duration: 11.7ms | Allocations: 6400) Rendered layout layouts/application.html.erb (Duration: 11.9ms | Allocations: 6464)
Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.3ms | Allocations: 7816)
ActionView::Template::Error (undefined method `linkt_to' for #<ActionView::Base:0x00000000026458> Did you mean? link_to):
11: <div class='product-tags'> 12: <% product.tags.map(&:name).each do |tag| %> 13: <p class='product-tag'> 14: <%= linkt_to tag, tag_path(tag) %> 15: </p> 16: <% end %> 17: </div>
app/views/products/index.html.erb:14 app/views/products/index.html.erb:12:in `each' app/views/products/index.html.erb:12 app/views/products/index.html.erb:8 Started GET “/products” for ::1 at 2022-02-05 16:49:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:9:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:9:in `map' Rendered products/index.html.erb within layouts/application (Duration: 45.5ms | Allocations: 21083)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 17.4ms | Allocations: 8150) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 83.7ms | Allocations: 42590)
Completed 200 OK in 88ms (Views: 67.0ms | ActiveRecord: 18.8ms | Allocations: 43971)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:38 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 47.4ms | Allocations: 21634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1809) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.6ms | Allocations: 36189)
Completed 200 OK in 67ms (Views: 49.9ms | ActiveRecord: 15.3ms | Allocations: 36773)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 47.5ms | Allocations: 21622)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.1ms | Allocations: 36168)
Completed 200 OK in 66ms (Views: 49.1ms | ActiveRecord: 15.7ms | Allocations: 36751)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (4.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 58.2ms | Allocations: 21604)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.9ms | Allocations: 36150)
Completed 200 OK in 78ms (Views: 56.9ms | ActiveRecord: 19.6ms | Allocations: 36733)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 64.1ms | Allocations: 21610)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 84.9ms | Allocations: 36156)
Completed 200 OK in 88ms (Views: 65.8ms | ActiveRecord: 19.5ms | Allocations: 36739)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (3.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 64.4ms | Allocations: 21606)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 81.8ms | Allocations: 36154)
Completed 200 OK in 84ms (Views: 60.6ms | ActiveRecord: 21.6ms | Allocations: 36738)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 56.2ms | Allocations: 21610)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.2ms | Allocations: 36158)
Completed 200 OK in 77ms (Views: 55.3ms | ActiveRecord: 19.5ms | Allocations: 36742)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (3.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 60.5ms | Allocations: 21618)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 77.6ms | Allocations: 36164)
Completed 200 OK in 80ms (Views: 57.5ms | ActiveRecord: 20.7ms | Allocations: 36747)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (6.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (4.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (4.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 67.5ms | Allocations: 21639)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 86.5ms | Allocations: 36185)
Completed 200 OK in 89ms (Views: 57.9ms | ActiveRecord: 29.2ms | Allocations: 36768)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (4.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 68.8ms | Allocations: 21625)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 113.8ms | Allocations: 36171)
Completed 200 OK in 117ms (Views: 90.5ms | ActiveRecord: 23.9ms | Allocations: 36754)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 60.9ms | Allocations: 20721)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 83.9ms | Allocations: 35270)
Completed 200 OK in 87ms (Views: 60.8ms | ActiveRecord: 23.6ms | Allocations: 35854)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 63.2ms | Allocations: 21604)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 83.2ms | Allocations: 36152)
Completed 200 OK in 88ms (Views: 62.8ms | ActiveRecord: 20.9ms | Allocations: 36736)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (5.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 70.5ms | Allocations: 21602)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 93.5ms | Allocations: 36150)
Completed 200 OK in 96ms (Views: 70.6ms | ActiveRecord: 23.6ms | Allocations: 36734)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (5.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 71.1ms | Allocations: 20721)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 91.6ms | Allocations: 35267)
Completed 200 OK in 95ms (Views: 65.9ms | ActiveRecord: 26.3ms | Allocations: 35850)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 66.9ms | Allocations: 21613)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 86.1ms | Allocations: 36159)
Completed 200 OK in 89ms (Views: 65.0ms | ActiveRecord: 21.8ms | Allocations: 36742)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (3.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 62.4ms | Allocations: 21600)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 81.7ms | Allocations: 36146)
Completed 200 OK in 84ms (Views: 61.0ms | ActiveRecord: 21.2ms | Allocations: 36729)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (4.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 72.5ms | Allocations: 21614)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 92.9ms | Allocations: 36162)
Completed 200 OK in 96ms (Views: 70.8ms | ActiveRecord: 22.6ms | Allocations: 36746)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:49:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (3.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 58.9ms | Allocations: 20721)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 78.5ms | Allocations: 35269)
Completed 200 OK in 81ms (Views: 58.4ms | ActiveRecord: 20.8ms | Allocations: 35853)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 61.0ms | Allocations: 21594)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 79.5ms | Allocations: 36142)
Completed 200 OK in 82ms (Views: 61.4ms | ActiveRecord: 18.7ms | Allocations: 36726)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:48 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 82.5ms | Allocations: 20721)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 101.5ms | Allocations: 35267)
Completed 200 OK in 104ms (Views: 82.4ms | ActiveRecord: 19.5ms | Allocations: 35850)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:48 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 51.8ms | Allocations: 20721)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.8ms | Allocations: 35267)
Completed 200 OK in 72ms (Views: 52.3ms | ActiveRecord: 17.9ms | Allocations: 35850)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:49:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 44.9ms | Allocations: 21091)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 2234) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 64.0ms | Allocations: 36680)
Completed 200 OK in 68ms (Views: 52.2ms | ActiveRecord: 13.8ms | Allocations: 38061)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:50:07 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 39.5ms | Allocations: 21075)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 58.1ms | Allocations: 36657)
Completed 200 OK in 64ms (Views: 48.1ms | ActiveRecord: 13.1ms | Allocations: 38038)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:50:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 43.4ms | Allocations: 21086)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 61.9ms | Allocations: 36668)
Completed 200 OK in 67ms (Views: 50.6ms | ActiveRecord: 13.9ms | Allocations: 38043)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:51:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:12:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:12:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 39.6ms | Allocations: 20546)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 58.8ms | Allocations: 36128)
Completed 200 OK in 63ms (Views: 47.7ms | ActiveRecord: 13.0ms | Allocations: 37503)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:51:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 41.1ms | Allocations: 20586)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 59.8ms | Allocations: 36166)
Completed 200 OK in 64ms (Views: 47.8ms | ActiveRecord: 13.7ms | Allocations: 37540)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:51:58 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:9:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:9:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 44.4ms | Allocations: 21530)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 2234) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 62.4ms | Allocations: 37120)
Completed 200 OK in 67ms (Views: 51.3ms | ActiveRecord: 13.4ms | Allocations: 38501)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:52:07 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 39.9ms | Allocations: 20921)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 59.3ms | Allocations: 36504)
Completed 200 OK in 63ms (Views: 47.5ms | ActiveRecord: 13.8ms | Allocations: 37885)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:53:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 40.3ms | Allocations: 20598)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.9ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1602.7ms | Allocations: 125490)
Completed 200 OK in 1605ms (Views: 1589.2ms | ActiveRecord: 14.0ms | Allocations: 126071)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:53:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 49.3ms | Allocations: 20597)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.6ms | Allocations: 35146)
Completed 200 OK in 72ms (Views: 54.6ms | ActiveRecord: 15.5ms | Allocations: 35727)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:53:31 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 41.1ms | Allocations: 20591)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1272.4ms | Allocations: 125445)
Completed 200 OK in 1274ms (Views: 1258.3ms | ActiveRecord: 14.5ms | Allocations: 126026)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:54:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 47.4ms | Allocations: 20594)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.8ms | Allocations: 35683)
Completed 200 OK in 74ms (Views: 55.8ms | ActiveRecord: 16.3ms | Allocations: 36264)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:54:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 41.4ms | Allocations: 20594)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1513.3ms | Allocations: 125960)
Completed 200 OK in 1515ms (Views: 1499.8ms | ActiveRecord: 14.0ms | Allocations: 126541)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:54:33 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 43.2ms | Allocations: 20593)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1297.2ms | Allocations: 124560)
Completed 200 OK in 1300ms (Views: 1283.2ms | ActiveRecord: 14.6ms | Allocations: 125141)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:54:48 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 37.6ms | Allocations: 20593)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1236.1ms | Allocations: 125478)
Completed 200 OK in 1239ms (Views: 1222.6ms | ActiveRecord: 14.2ms | Allocations: 126058)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:55:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 39.9ms | Allocations: 21061)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 10.7ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 1392.1ms | Allocations: 127908)
Completed 200 OK in 1398ms (Views: 1380.8ms | ActiveRecord: 14.2ms | Allocations: 129288)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:55:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 40.8ms | Allocations: 20730)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1290.7ms | Allocations: 125183)
Completed 200 OK in 1293ms (Views: 1277.5ms | ActiveRecord: 13.8ms | Allocations: 125764)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:56:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 49.5ms | Allocations: 20723)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1338.9ms | Allocations: 125137)
Completed 200 OK in 1342ms (Views: 1324.5ms | ActiveRecord: 15.9ms | Allocations: 125717)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:56:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 42.5ms | Allocations: 20724)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1275.2ms | Allocations: 126091)
Completed 200 OK in 1278ms (Views: 1260.8ms | ActiveRecord: 15.0ms | Allocations: 126671)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:56:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 47.6ms | Allocations: 20726)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1272.4ms | Allocations: 125589)
Completed 200 OK in 1275ms (Views: 1257.7ms | ActiveRecord: 15.3ms | Allocations: 126169)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:57:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 45.7ms | Allocations: 20723)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.5ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1317.8ms | Allocations: 125591)
Completed 200 OK in 1320ms (Views: 1302.9ms | ActiveRecord: 15.3ms | Allocations: 126171)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 16:57:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 48.6ms | Allocations: 21616)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.9ms | Allocations: 36163)
Completed 200 OK in 68ms (Views: 51.1ms | ActiveRecord: 15.3ms | Allocations: 36746)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 16:57:12 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 45.5ms | Allocations: 21599)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.0ms | Allocations: 36147)
Completed 200 OK in 68ms (Views: 50.1ms | ActiveRecord: 15.5ms | Allocations: 36731)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 16:57:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 51.6ms | Allocations: 20723)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.2ms | Allocations: 35269)
Completed 200 OK in 71ms (Views: 52.4ms | ActiveRecord: 16.4ms | Allocations: 35852)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 16:57:19 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 60.4ms | Allocations: 21608)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 78.1ms | Allocations: 36154)
Completed 200 OK in 81ms (Views: 58.6ms | ActiveRecord: 20.0ms | Allocations: 36737)
Started GET “/tags/Soups” for ::1 at 2022-02-05 16:57:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 43.2ms | Allocations: 21612)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 61.2ms | Allocations: 36158)
Completed 200 OK in 64ms (Views: 47.2ms | ActiveRecord: 14.5ms | Allocations: 36742)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 16:57:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 46.1ms | Allocations: 21604)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.6ms | Allocations: 36152)
Completed 200 OK in 64ms (Views: 47.6ms | ActiveRecord: 15.4ms | Allocations: 36736)
Started GET “/tags/Fats” for ::1 at 2022-02-05 16:57:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 49.3ms | Allocations: 21602)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 66.3ms | Allocations: 36148)
Completed 200 OK in 70ms (Views: 50.2ms | ActiveRecord: 16.8ms | Allocations: 36731)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 16:57:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (3.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (5.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (4.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 83.8ms | Allocations: 21606)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 102.2ms | Allocations: 36154)
Completed 200 OK in 105ms (Views: 72.0ms | ActiveRecord: 30.9ms | Allocations: 36738)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:01:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Completed 500 Internal Server Error in 28ms (ActiveRecord: 6.9ms | Allocations: 9644)
NoMethodError (undefined method `articles' for #<Tag:0x00007fee7b590e68>):
app/models/product.rb:9:in `tagged_with' app/controllers/products_controller.rb:9:in `index' Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:02:03 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mCACHE Tag Load (0.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 35.5ms | Allocations: 15946)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 16.1ms | Allocations: 7656) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 66.5ms | Allocations: 36252)
Completed 200 OK in 95ms (Views: 47.9ms | ActiveRecord: 26.0ms | Allocations: 45299)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:02:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.7ms | Allocations: 4356)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 19794)
Completed 200 OK in 39ms (Views: 31.3ms | ActiveRecord: 5.5ms | Allocations: 20969)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 17:02:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.3ms | Allocations: 4357)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 19798)
Completed 200 OK in 37ms (Views: 29.6ms | ActiveRecord: 4.8ms | Allocations: 20972)
Started GET “/products” for ::1 at 2022-02-05 17:02:16 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 47.5ms | Allocations: 21614)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.9ms | Allocations: 36160)
Completed 200 OK in 68ms (Views: 49.5ms | ActiveRecord: 15.9ms | Allocations: 36746)
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 14]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
[1m[36mProduct Destroy (7.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 14]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (210.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (169.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (420.2ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (270.3ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:12:55.657470"], ["updated_at", "2022-02-05 22:12:55.657470"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:12:55.666316"], ["updated_at", "2022-02-05 22:12:55.666316"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:12:55.773931"], ["updated_at", "2022-02-05 22:12:55.773931"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 22:12:55.779008"], ["key", "environment"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:12:55.784280"], ["updated_at", "2022-02-05 22:12:55.784280"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.7ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-05 22:12:56.210062"], ["updated_at", "2022-02-05 22:12:56.210062"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-05 22:12:56.214887"], ["updated_at", "2022-02-05 22:12:56.214887"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7700-IVE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7700-IVE"], ["name", "Gorgeous Granite Knife"], ["description", "Sports & Movies"], ["price", 6.0], ["stock", 32], ["created_at", "2022-02-05 22:12:56.244719"], ["updated_at", "2022-02-05 22:12:56.244719"]]
[1m[36mTagging Create (1.1ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-05 22:12:56.246701"], ["updated_at", "2022-02-05 22:12:56.246701"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-05 22:12:56.249098"], ["updated_at", "2022-02-05 22:12:56.249098"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-05 22:12:56.253705"], ["updated_at", "2022-02-05 22:12:56.253705"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-05 22:12:56.257745"], ["updated_at", "2022-02-05 22:12:56.257745"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3711-WFT"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-05 22:12:56.269839"], ["updated_at", "2022-02-05 22:12:56.269839"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2097-RAG"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-05 22:12:56.277789"], ["updated_at", "2022-02-05 22:12:56.277789"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8866-RCI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8866-RCI"], ["name", "Heavy Duty Paper Computer"], ["description", "Health & Toys"], ["price", 6.0], ["stock", 43], ["created_at", "2022-02-05 22:12:56.284226"], ["updated_at", "2022-02-05 22:12:56.284226"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 2], ["created_at", "2022-02-05 22:12:56.285644"], ["updated_at", "2022-02-05 22:12:56.285644"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 2], ["created_at", "2022-02-05 22:12:56.287122"], ["updated_at", "2022-02-05 22:12:56.287122"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9880-FQJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3083-AZZ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-05 22:12:56.304956"], ["updated_at", "2022-02-05 22:12:56.304956"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2974-YXM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2974-YXM"], ["name", "Ergonomic Silk Bench"], ["description", "Electronics"], ["price", 6.0], ["stock", 49], ["created_at", "2022-02-05 22:12:56.311146"], ["updated_at", "2022-02-05 22:12:56.311146"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 3], ["created_at", "2022-02-05 22:12:56.312707"], ["updated_at", "2022-02-05 22:12:56.312707"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 3], ["created_at", "2022-02-05 22:12:56.314369"], ["updated_at", "2022-02-05 22:12:56.314369"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3234-OZS"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3234-OZS"], ["name", "Small Silk Plate"], ["description", "Shoes & Toys"], ["price", 8.0], ["stock", 41], ["created_at", "2022-02-05 22:12:56.322817"], ["updated_at", "2022-02-05 22:12:56.322817"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 4], ["created_at", "2022-02-05 22:12:56.324213"], ["updated_at", "2022-02-05 22:12:56.324213"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 4], ["created_at", "2022-02-05 22:12:56.326295"], ["updated_at", "2022-02-05 22:12:56.326295"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8285-LNV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8285-LNV"], ["name", "Gorgeous Copper Pants"], ["description", "Electronics & Garden"], ["price", 1.0], ["stock", 50], ["created_at", "2022-02-05 22:12:56.333899"], ["updated_at", "2022-02-05 22:12:56.333899"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 5], ["created_at", "2022-02-05 22:12:56.335236"], ["updated_at", "2022-02-05 22:12:56.335236"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 5], ["created_at", "2022-02-05 22:12:56.336676"], ["updated_at", "2022-02-05 22:12:56.336676"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3362-XSH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3362-XSH"], ["name", "Mediocre Aluminum Bench"], ["description", "Movies, Garden & Home"], ["price", 8.0], ["stock", 37], ["created_at", "2022-02-05 22:12:56.345733"], ["updated_at", "2022-02-05 22:12:56.345733"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 6], ["created_at", "2022-02-05 22:12:56.347172"], ["updated_at", "2022-02-05 22:12:56.347172"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 6], ["created_at", "2022-02-05 22:12:56.348523"], ["updated_at", "2022-02-05 22:12:56.348523"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6075-LYT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6075-LYT"], ["name", "Awesome Iron Pants"], ["description", "Sports, Baby & Garden"], ["price", 11.0], ["stock", 16], ["created_at", "2022-02-05 22:12:56.356620"], ["updated_at", "2022-02-05 22:12:56.356620"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 7], ["created_at", "2022-02-05 22:12:56.358189"], ["updated_at", "2022-02-05 22:12:56.358189"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 7], ["created_at", "2022-02-05 22:12:56.359709"], ["updated_at", "2022-02-05 22:12:56.359709"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-05 22:12:56.364147"], ["updated_at", "2022-02-05 22:12:56.364147"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8977-KTF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4889-PHQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4889-PHQ"], ["name", "Ergonomic Linen Pants"], ["description", "Tools & Books"], ["price", 14.0], ["stock", 32], ["created_at", "2022-02-05 22:12:56.376002"], ["updated_at", "2022-02-05 22:12:56.376002"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 8], ["created_at", "2022-02-05 22:12:56.377860"], ["updated_at", "2022-02-05 22:12:56.377860"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 8], ["created_at", "2022-02-05 22:12:56.379390"], ["updated_at", "2022-02-05 22:12:56.379390"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9586-AZO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3466-VHF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3466-VHF"], ["name", "Incredible Marble Bag"], ["description", "Music & Baby"], ["price", 10.0], ["stock", 14], ["created_at", "2022-02-05 22:12:56.394022"], ["updated_at", "2022-02-05 22:12:56.394022"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 9], ["created_at", "2022-02-05 22:12:56.395612"], ["updated_at", "2022-02-05 22:12:56.395612"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 9], ["created_at", "2022-02-05 22:12:56.397059"], ["updated_at", "2022-02-05 22:12:56.397059"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (139.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (147.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (267.1ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (259.2ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:14:24.719388"], ["updated_at", "2022-02-05 22:14:24.719388"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:14:24.728073"], ["updated_at", "2022-02-05 22:14:24.728073"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:14:24.842598"], ["updated_at", "2022-02-05 22:14:24.842598"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 22:14:24.849806"], ["key", "environment"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:14:24.854444"], ["updated_at", "2022-02-05 22:14:24.854444"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.8ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-05 22:14:25.624854"], ["updated_at", "2022-02-05 22:14:25.624854"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-05 22:14:25.630392"], ["updated_at", "2022-02-05 22:14:25.630392"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4229-MVJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4229-MVJ"], ["name", "Lightweight Plastic Computer"], ["description", "Games & Computers"], ["price", 6.0], ["stock", 12], ["created_at", "2022-02-05 22:14:25.651069"], ["updated_at", "2022-02-05 22:14:25.651069"]]
[1m[36mTagging Create (1.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-05 22:14:25.653205"], ["updated_at", "2022-02-05 22:14:25.653205"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-05 22:14:25.656237"], ["updated_at", "2022-02-05 22:14:25.656237"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.6ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-05 22:14:25.662879"], ["updated_at", "2022-02-05 22:14:25.662879"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-05 22:14:25.669311"], ["updated_at", "2022-02-05 22:14:25.669311"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9844-OBW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9844-OBW"], ["name", "Awesome Copper Wallet"], ["description", "Home & Automotive"], ["price", 3.0], ["stock", 20], ["created_at", "2022-02-05 22:14:25.676324"], ["updated_at", "2022-02-05 22:14:25.676324"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 2], ["created_at", "2022-02-05 22:14:25.678419"], ["updated_at", "2022-02-05 22:14:25.678419"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 2], ["created_at", "2022-02-05 22:14:25.680500"], ["updated_at", "2022-02-05 22:14:25.680500"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-05 22:14:25.685003"], ["updated_at", "2022-02-05 22:14:25.685003"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-05 22:14:25.688765"], ["updated_at", "2022-02-05 22:14:25.688765"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6674-EQX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6674-EQX"], ["name", "Ergonomic Rubber Keyboard"], ["description", "Tools, Toys & Health"], ["price", 5.0], ["stock", 12], ["created_at", "2022-02-05 22:14:25.694477"], ["updated_at", "2022-02-05 22:14:25.694477"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 3], ["created_at", "2022-02-05 22:14:25.696033"], ["updated_at", "2022-02-05 22:14:25.696033"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 3], ["created_at", "2022-02-05 22:14:25.697510"], ["updated_at", "2022-02-05 22:14:25.697510"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-05 22:14:25.702229"], ["updated_at", "2022-02-05 22:14:25.702229"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2991-QFE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2991-QFE"], ["name", "Sleek Copper Coat"], ["description", "Beauty & Music"], ["price", 5.0], ["stock", 41], ["created_at", "2022-02-05 22:14:25.708526"], ["updated_at", "2022-02-05 22:14:25.708526"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 4], ["created_at", "2022-02-05 22:14:25.710267"], ["updated_at", "2022-02-05 22:14:25.710267"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 4], ["created_at", "2022-02-05 22:14:25.711990"], ["updated_at", "2022-02-05 22:14:25.711990"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-05 22:14:25.717193"], ["updated_at", "2022-02-05 22:14:25.717193"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9393-GTC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9393-GTC"], ["name", "Intelligent Concrete Knife"], ["description", "Health, Beauty & Shoes"], ["price", 5.0], ["stock", 11], ["created_at", "2022-02-05 22:14:25.723377"], ["updated_at", "2022-02-05 22:14:25.723377"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 5], ["created_at", "2022-02-05 22:14:25.725173"], ["updated_at", "2022-02-05 22:14:25.725173"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 5], ["created_at", "2022-02-05 22:14:25.726934"], ["updated_at", "2022-02-05 22:14:25.726934"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8443-WOA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8443-WOA"], ["name", "Intelligent Aluminum Shirt"], ["description", "Computers & Electronics"], ["price", 14.0], ["stock", 30], ["created_at", "2022-02-05 22:14:25.734928"], ["updated_at", "2022-02-05 22:14:25.734928"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 6], ["created_at", "2022-02-05 22:14:25.736737"], ["updated_at", "2022-02-05 22:14:25.736737"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 6], ["created_at", "2022-02-05 22:14:25.738284"], ["updated_at", "2022-02-05 22:14:25.738284"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-05 22:14:25.742218"], ["updated_at", "2022-02-05 22:14:25.742218"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3324-IQV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3324-IQV"], ["name", "Mediocre Wooden Wallet"], ["description", "Industrial"], ["price", 4.0], ["stock", 25], ["created_at", "2022-02-05 22:14:25.749390"], ["updated_at", "2022-02-05 22:14:25.749390"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 7], ["created_at", "2022-02-05 22:14:25.750929"], ["updated_at", "2022-02-05 22:14:25.750929"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 7], ["created_at", "2022-02-05 22:14:25.752346"], ["updated_at", "2022-02-05 22:14:25.752346"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8396-PXL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6519-AOT"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7378-KXF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7378-KXF"], ["name", "Practical Leather Car"], ["description", "Automotive & Jewelry"], ["price", 4.0], ["stock", 23], ["created_at", "2022-02-05 22:14:25.773616"], ["updated_at", "2022-02-05 22:14:25.773616"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 8], ["created_at", "2022-02-05 22:14:25.775200"], ["updated_at", "2022-02-05 22:14:25.775200"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 8], ["created_at", "2022-02-05 22:14:25.776731"], ["updated_at", "2022-02-05 22:14:25.776731"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3577-GQO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3577-GQO"], ["name", "Durable Wooden Chair"], ["description", "Shoes & Sports"], ["price", 1.0], ["stock", 33], ["created_at", "2022-02-05 22:14:25.785201"], ["updated_at", "2022-02-05 22:14:25.785201"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 9], ["created_at", "2022-02-05 22:14:25.786876"], ["updated_at", "2022-02-05 22:14:25.786876"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 9], ["created_at", "2022-02-05 22:14:25.788497"], ["updated_at", "2022-02-05 22:14:25.788497"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1285-RIE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1285-RIE"], ["name", "Rustic Plastic Chair"], ["description", "Health, Outdoors & Music"], ["price", 12.0], ["stock", 34], ["created_at", "2022-02-05 22:14:25.796478"], ["updated_at", "2022-02-05 22:14:25.796478"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 10], ["created_at", "2022-02-05 22:14:25.797953"], ["updated_at", "2022-02-05 22:14:25.797953"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 10], ["created_at", "2022-02-05 22:14:25.799365"], ["updated_at", "2022-02-05 22:14:25.799365"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1562-EWF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1562-EWF"], ["name", "Rustic Wool Clock"], ["description", "Beauty & Toys"], ["price", 2.0], ["stock", 39], ["created_at", "2022-02-05 22:14:25.810238"], ["updated_at", "2022-02-05 22:14:25.810238"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 11], ["created_at", "2022-02-05 22:14:25.811832"], ["updated_at", "2022-02-05 22:14:25.811832"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 11], ["created_at", "2022-02-05 22:14:25.813345"], ["updated_at", "2022-02-05 22:14:25.813345"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-05 22:14:25.818019"], ["updated_at", "2022-02-05 22:14:25.818019"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9349-KMI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9349-KMI"], ["name", "Mediocre Wool Bench"], ["description", "Sports & Automotive"], ["price", 15.0], ["stock", 35], ["created_at", "2022-02-05 22:14:25.823605"], ["updated_at", "2022-02-05 22:14:25.823605"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 12], ["created_at", "2022-02-05 22:14:25.825184"], ["updated_at", "2022-02-05 22:14:25.825184"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 12], ["created_at", "2022-02-05 22:14:25.826844"], ["updated_at", "2022-02-05 22:14:25.826844"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-05 22:14:25.831980"], ["updated_at", "2022-02-05 22:14:25.831980"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9262-KYC"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (148.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (140.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (267.1ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (264.0ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:16:04.454298"], ["updated_at", "2022-02-05 22:16:04.454298"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:16:04.462137"], ["updated_at", "2022-02-05 22:16:04.462137"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:16:04.568776"], ["updated_at", "2022-02-05 22:16:04.568776"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 22:16:04.575168"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:16:04.579919"], ["updated_at", "2022-02-05 22:16:04.579919"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$HguMuDpaPllvTATxGUjLBeCpE3lGxpmy12cZrt3UvIVFd.6XFSccC"], ["created_at", "2022-02-05 22:16:04.857161"], ["updated_at", "2022-02-05 22:16:04.857161"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$Jv3UVKkSkVtZnh2Vmw1EoO.RxT.VdWpziA0LT4XyCfP8hhm7uS4ae"], ["created_at", "2022-02-05 22:16:05.075394"], ["updated_at", "2022-02-05 22:16:05.075394"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-05 22:16:05.338460"], ["updated_at", "2022-02-05 22:16:05.338460"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-05 22:16:05.343087"], ["updated_at", "2022-02-05 22:16:05.343087"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3866-SNJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3866-SNJ"], ["name", "Durable Steel Computer"], ["description", "Music & Industrial"], ["price", 2.0], ["stock", 27], ["created_at", "2022-02-05 22:16:05.363375"], ["updated_at", "2022-02-05 22:16:05.363375"]]
[1m[36mTagging Create (1.1ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-05 22:16:05.365167"], ["updated_at", "2022-02-05 22:16:05.365167"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-05 22:16:05.367546"], ["updated_at", "2022-02-05 22:16:05.367546"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-05 22:16:05.371913"], ["updated_at", "2022-02-05 22:16:05.371913"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-05 22:16:05.375542"], ["updated_at", "2022-02-05 22:16:05.375542"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8212-VZN"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-05 22:16:05.388865"], ["updated_at", "2022-02-05 22:16:05.388865"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-05 22:16:05.395330"], ["updated_at", "2022-02-05 22:16:05.395330"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2272-NNY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2272-NNY"], ["name", "Incredible Bronze Shirt"], ["description", "Automotive, Toys & Beauty"], ["price", 8.0], ["stock", 25], ["created_at", "2022-02-05 22:16:05.401736"], ["updated_at", "2022-02-05 22:16:05.401736"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 2], ["created_at", "2022-02-05 22:16:05.403301"], ["updated_at", "2022-02-05 22:16:05.403301"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 2], ["created_at", "2022-02-05 22:16:05.405143"], ["updated_at", "2022-02-05 22:16:05.405143"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-05 22:16:05.409815"], ["updated_at", "2022-02-05 22:16:05.409815"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-05 22:16:05.413694"], ["updated_at", "2022-02-05 22:16:05.413694"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9306-XZH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9306-XZH"], ["name", "Heavy Duty Bronze Bottle"], ["description", "Shoes & Music"], ["price", 9.0], ["stock", 47], ["created_at", "2022-02-05 22:16:05.420553"], ["updated_at", "2022-02-05 22:16:05.420553"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 3], ["created_at", "2022-02-05 22:16:05.422375"], ["updated_at", "2022-02-05 22:16:05.422375"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 3], ["created_at", "2022-02-05 22:16:05.424159"], ["updated_at", "2022-02-05 22:16:05.424159"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1281-UEA"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6194-YLV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6194-YLV"], ["name", "Practical Steel Coat"], ["description", "Toys & Outdoors"], ["price", 13.0], ["stock", 43], ["created_at", "2022-02-05 22:16:05.439182"], ["updated_at", "2022-02-05 22:16:05.439182"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 4], ["created_at", "2022-02-05 22:16:05.440714"], ["updated_at", "2022-02-05 22:16:05.440714"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 4], ["created_at", "2022-02-05 22:16:05.442413"], ["updated_at", "2022-02-05 22:16:05.442413"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-05 22:16:05.446751"], ["updated_at", "2022-02-05 22:16:05.446751"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7717-VCW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7717-VCW"], ["name", "Awesome Aluminum Gloves"], ["description", "Movies & Toys"], ["price", 5.0], ["stock", 15], ["created_at", "2022-02-05 22:16:05.454965"], ["updated_at", "2022-02-05 22:16:05.454965"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 5], ["created_at", "2022-02-05 22:16:05.456661"], ["updated_at", "2022-02-05 22:16:05.456661"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 5], ["created_at", "2022-02-05 22:16:05.458300"], ["updated_at", "2022-02-05 22:16:05.458300"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5118-XTM"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5477-SFK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5477-SFK"], ["name", "Enormous Marble Computer"], ["description", "Automotive"], ["price", 14.0], ["stock", 18], ["created_at", "2022-02-05 22:16:05.473641"], ["updated_at", "2022-02-05 22:16:05.473641"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 6], ["created_at", "2022-02-05 22:16:05.475157"], ["updated_at", "2022-02-05 22:16:05.475157"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 6], ["created_at", "2022-02-05 22:16:05.476606"], ["updated_at", "2022-02-05 22:16:05.476606"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7978-OLB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7978-OLB"], ["name", "Aerodynamic Leather Wallet"], ["description", "Jewelry & Electronics"], ["price", 7.0], ["stock", 47], ["created_at", "2022-02-05 22:16:05.485284"], ["updated_at", "2022-02-05 22:16:05.485284"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 7], ["created_at", "2022-02-05 22:16:05.486904"], ["updated_at", "2022-02-05 22:16:05.486904"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 7], ["created_at", "2022-02-05 22:16:05.488378"], ["updated_at", "2022-02-05 22:16:05.488378"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-05 22:16:05.493234"], ["updated_at", "2022-02-05 22:16:05.493234"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6414-TVS"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6470-DOF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7838-LJD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7838-LJD"], ["name", "Aerodynamic Rubber Bag"], ["description", "Computers, Electronics & Kids"], ["price", 4.0], ["stock", 47], ["created_at", "2022-02-05 22:16:05.514333"], ["updated_at", "2022-02-05 22:16:05.514333"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 8], ["created_at", "2022-02-05 22:16:05.515841"], ["updated_at", "2022-02-05 22:16:05.515841"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 8], ["created_at", "2022-02-05 22:16:05.518317"], ["updated_at", "2022-02-05 22:16:05.518317"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2169-IRA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2169-IRA"], ["name", "Rustic Steel Lamp"], ["description", "Grocery, Automotive & Computers"], ["price", 2.0], ["stock", 18], ["created_at", "2022-02-05 22:16:05.526785"], ["updated_at", "2022-02-05 22:16:05.526785"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 9], ["created_at", "2022-02-05 22:16:05.528157"], ["updated_at", "2022-02-05 22:16:05.528157"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 9], ["created_at", "2022-02-05 22:16:05.529569"], ["updated_at", "2022-02-05 22:16:05.529569"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5836-ARF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5836-ARF"], ["name", "Awesome Wool Bottle"], ["description", "Automotive & Movies"], ["price", 9.0], ["stock", 42], ["created_at", "2022-02-05 22:16:05.538954"], ["updated_at", "2022-02-05 22:16:05.538954"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 10], ["created_at", "2022-02-05 22:16:05.540354"], ["updated_at", "2022-02-05 22:16:05.540354"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 10], ["created_at", "2022-02-05 22:16:05.541774"], ["updated_at", "2022-02-05 22:16:05.541774"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (144.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (149.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (272.3ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (303.0ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:16:25.844309"], ["updated_at", "2022-02-05 22:16:25.844309"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:16:25.853301"], ["updated_at", "2022-02-05 22:16:25.853301"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220205203317)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243);
[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-05 22:16:25.969943"], ["updated_at", "2022-02-05 22:16:25.969943"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-05 22:16:25.975544"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "d6e6c767f422242883d941c485937c3361ea1bf3"], ["created_at", "2022-02-05 22:16:25.981078"], ["updated_at", "2022-02-05 22:16:25.981078"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (4.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (6.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$Q08MrxkG4jn7gi6/BmsvFO/Si3/9gfvatNpMWPFVbW/g4myQFJhkW"], ["created_at", "2022-02-05 22:16:26.362605"], ["updated_at", "2022-02-05 22:16:26.362605"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$OcR9uIVfvZITfVIuVrijr.TInAlAUXKDeI2HST.iFUew5XCZ.ix2W"], ["created_at", "2022-02-05 22:16:26.604495"], ["updated_at", "2022-02-05 22:16:26.604495"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-05 22:16:26.949117"], ["updated_at", "2022-02-05 22:16:26.949117"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-05 22:16:26.954298"], ["updated_at", "2022-02-05 22:16:26.954298"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5441-BLN"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-05 22:16:26.979676"], ["updated_at", "2022-02-05 22:16:26.979676"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8714-JTH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8714-JTH"], ["name", "Incredible Marble Coat"], ["description", "Books, Computers & Tools"], ["price", 3.0], ["stock", 50], ["created_at", "2022-02-05 22:16:26.986991"], ["updated_at", "2022-02-05 22:16:26.986991"]]
[1m[36mTagging Create (1.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 1], ["created_at", "2022-02-05 22:16:26.988865"], ["updated_at", "2022-02-05 22:16:26.988865"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-05 22:16:26.991492"], ["updated_at", "2022-02-05 22:16:26.991492"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-05 22:16:26.995752"], ["updated_at", "2022-02-05 22:16:26.995752"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5153-HVW"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-05 22:16:27.008236"], ["updated_at", "2022-02-05 22:16:27.008236"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-05 22:16:27.012525"], ["updated_at", "2022-02-05 22:16:27.012525"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6946-SCK"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4683-WMJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-05 22:16:27.032696"], ["updated_at", "2022-02-05 22:16:27.032696"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3126-GVF"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3126-GVF"], ["name", "Practical Linen Bench"], ["description", "Electronics & Automotive"], ["price", 3.0], ["stock", 26], ["created_at", "2022-02-05 22:16:27.040671"], ["updated_at", "2022-02-05 22:16:27.040671"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 2], ["created_at", "2022-02-05 22:16:27.042282"], ["updated_at", "2022-02-05 22:16:27.042282"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 2], ["created_at", "2022-02-05 22:16:27.044121"], ["updated_at", "2022-02-05 22:16:27.044121"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5045-BZJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5045-BZJ"], ["name", "Fantastic Concrete Car"], ["description", "Tools, Jewelry & Movies"], ["price", 9.0], ["stock", 31], ["created_at", "2022-02-05 22:16:27.053228"], ["updated_at", "2022-02-05 22:16:27.053228"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 3], ["created_at", "2022-02-05 22:16:27.055492"], ["updated_at", "2022-02-05 22:16:27.055492"]]
[1m[36mTagging Create (0.9ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 3], ["created_at", "2022-02-05 22:16:27.058160"], ["updated_at", "2022-02-05 22:16:27.058160"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-05 22:16:27.063881"], ["updated_at", "2022-02-05 22:16:27.063881"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-05 22:16:27.069304"], ["updated_at", "2022-02-05 22:16:27.069304"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8258-CTY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8258-CTY"], ["name", "Intelligent Silk Chair"], ["description", "Clothing, Toys & Shoes"], ["price", 3.0], ["stock", 13], ["created_at", "2022-02-05 22:16:27.076653"], ["updated_at", "2022-02-05 22:16:27.076653"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 4], ["created_at", "2022-02-05 22:16:27.078290"], ["updated_at", "2022-02-05 22:16:27.078290"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 4], ["created_at", "2022-02-05 22:16:27.080088"], ["updated_at", "2022-02-05 22:16:27.080088"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-05 22:16:27.086350"], ["updated_at", "2022-02-05 22:16:27.086350"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7303-LMK"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7416-TYU"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9217-IZI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9217-IZI"], ["name", "Lightweight Rubber Lamp"], ["description", "Sports, Beauty & Automotive"], ["price", 7.0], ["stock", 23], ["created_at", "2022-02-05 22:16:27.112402"], ["updated_at", "2022-02-05 22:16:27.112402"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 5], ["created_at", "2022-02-05 22:16:27.114509"], ["updated_at", "2022-02-05 22:16:27.114509"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 5], ["created_at", "2022-02-05 22:16:27.117023"], ["updated_at", "2022-02-05 22:16:27.117023"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3747-KNV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3747-KNV"], ["name", "Mediocre Concrete Plate"], ["description", "Books & Tools"], ["price", 4.0], ["stock", 22], ["created_at", "2022-02-05 22:16:27.126031"], ["updated_at", "2022-02-05 22:16:27.126031"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 6], ["created_at", "2022-02-05 22:16:27.128082"], ["updated_at", "2022-02-05 22:16:27.128082"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 6], ["created_at", "2022-02-05 22:16:27.130063"], ["updated_at", "2022-02-05 22:16:27.130063"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1154-HSC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1154-HSC"], ["name", "Durable Cotton Clock"], ["description", "Health & Automotive"], ["price", 6.0], ["stock", 20], ["created_at", "2022-02-05 22:16:27.139151"], ["updated_at", "2022-02-05 22:16:27.139151"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 7], ["created_at", "2022-02-05 22:16:27.141495"], ["updated_at", "2022-02-05 22:16:27.141495"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 7], ["created_at", "2022-02-05 22:16:27.143554"], ["updated_at", "2022-02-05 22:16:27.143554"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-05 22:16:27.147837"], ["updated_at", "2022-02-05 22:16:27.147837"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6215-GDD"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8116-PKT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8116-PKT"], ["name", "Lightweight Wooden Plate"], ["description", "Sports, Games & Home"], ["price", 12.0], ["stock", 21], ["created_at", "2022-02-05 22:16:27.165016"], ["updated_at", "2022-02-05 22:16:27.165016"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 8], ["created_at", "2022-02-05 22:16:27.166555"], ["updated_at", "2022-02-05 22:16:27.166555"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 8], ["created_at", "2022-02-05 22:16:27.168269"], ["updated_at", "2022-02-05 22:16:27.168269"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7705-IUX"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5937-UCJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9200-FLG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9200-FLG"], ["name", "Mediocre Linen Shoes"], ["description", "Beauty, Sports & Computers"], ["price", 10.0], ["stock", 38], ["created_at", "2022-02-05 22:16:27.196591"], ["updated_at", "2022-02-05 22:16:27.196591"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 9], ["created_at", "2022-02-05 22:16:27.198409"], ["updated_at", "2022-02-05 22:16:27.198409"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 9], ["created_at", "2022-02-05 22:16:27.200035"], ["updated_at", "2022-02-05 22:16:27.200035"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3425-INB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3425-INB"], ["name", "Fantastic Plastic Computer"], ["description", "Tools, Books & Sports"], ["price", 3.0], ["stock", 38], ["created_at", "2022-02-05 22:16:27.211296"], ["updated_at", "2022-02-05 22:16:27.211296"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 10], ["created_at", "2022-02-05 22:16:27.213402"], ["updated_at", "2022-02-05 22:16:27.213402"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 10], ["created_at", "2022-02-05 22:16:27.215884"], ["updated_at", "2022-02-05 22:16:27.215884"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6685-WQY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6685-WQY"], ["name", "Durable Iron Coat"], ["description", "Music & Sports"], ["price", 4.0], ["stock", 18], ["created_at", "2022-02-05 22:16:27.228195"], ["updated_at", "2022-02-05 22:16:27.228195"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 11], ["created_at", "2022-02-05 22:16:27.230202"], ["updated_at", "2022-02-05 22:16:27.230202"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 11], ["created_at", "2022-02-05 22:16:27.232820"], ["updated_at", "2022-02-05 22:16:27.232820"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7780-RYK"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8820-QYE"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7901-WUC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.8ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7901-WUC"], ["name", "Gorgeous Wool Gloves"], ["description", "Electronics & Jewelry"], ["price", 8.0], ["stock", 38], ["created_at", "2022-02-05 22:16:27.267680"], ["updated_at", "2022-02-05 22:16:27.267680"]]
[1m[36mTagging Create (6.2ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 12], ["created_at", "2022-02-05 22:16:27.270605"], ["updated_at", "2022-02-05 22:16:27.270605"]]
[1m[36mTagging Create (1.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 12], ["created_at", "2022-02-05 22:16:27.279119"], ["updated_at", "2022-02-05 22:16:27.279119"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2718-ZYF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9858-MLZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9858-MLZ"], ["name", "Small Leather Table"], ["description", "Automotive & Movies"], ["price", 10.0], ["stock", 42], ["created_at", "2022-02-05 22:16:27.305860"], ["updated_at", "2022-02-05 22:16:27.305860"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 13], ["created_at", "2022-02-05 22:16:27.308242"], ["updated_at", "2022-02-05 22:16:27.308242"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 13], ["created_at", "2022-02-05 22:16:27.309891"], ["updated_at", "2022-02-05 22:16:27.309891"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5019-APJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5019-APJ"], ["name", "Enormous Marble Hat"], ["description", "Games & Computers"], ["price", 9.0], ["stock", 50], ["created_at", "2022-02-05 22:16:27.323616"], ["updated_at", "2022-02-05 22:16:27.323616"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 14], ["created_at", "2022-02-05 22:16:27.326200"], ["updated_at", "2022-02-05 22:16:27.326200"]]
[1m[36mTagging Create (2.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 14], ["created_at", "2022-02-05 22:16:27.329373"], ["updated_at", "2022-02-05 22:16:27.329373"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8763-OLS"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8763-OLS"], ["name", "Heavy Duty Aluminum Plate"], ["description", "Baby & Industrial"], ["price", 8.0], ["stock", 36], ["created_at", "2022-02-05 22:16:27.343399"], ["updated_at", "2022-02-05 22:16:27.343399"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 15], ["created_at", "2022-02-05 22:16:27.345248"], ["updated_at", "2022-02-05 22:16:27.345248"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 15], ["created_at", "2022-02-05 22:16:27.347601"], ["updated_at", "2022-02-05 22:16:27.347601"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4856-XVT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4856-XVT"], ["name", "Heavy Duty Leather Shirt"], ["description", "Clothing, Industrial & Electronics"], ["price", 9.0], ["stock", 43], ["created_at", "2022-02-05 22:16:27.358187"], ["updated_at", "2022-02-05 22:16:27.358187"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 16], ["created_at", "2022-02-05 22:16:27.360494"], ["updated_at", "2022-02-05 22:16:27.360494"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 16], ["created_at", "2022-02-05 22:16:27.362665"], ["updated_at", "2022-02-05 22:16:27.362665"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6357-OHZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6357-OHZ"], ["name", "Synergistic Wooden Keyboard"], ["description", "Baby, Grocery & Garden"], ["price", 3.0], ["stock", 18], ["created_at", "2022-02-05 22:16:27.373929"], ["updated_at", "2022-02-05 22:16:27.373929"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 17], ["created_at", "2022-02-05 22:16:27.376146"], ["updated_at", "2022-02-05 22:16:27.376146"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 17], ["created_at", "2022-02-05 22:16:27.378333"], ["updated_at", "2022-02-05 22:16:27.378333"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3107-ETR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3107-ETR"], ["name", "Synergistic Wool Wallet"], ["description", "Outdoors & Music"], ["price", 10.0], ["stock", 31], ["created_at", "2022-02-05 22:16:27.389820"], ["updated_at", "2022-02-05 22:16:27.389820"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 18], ["created_at", "2022-02-05 22:16:27.392510"], ["updated_at", "2022-02-05 22:16:27.392510"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 18], ["created_at", "2022-02-05 22:16:27.395290"], ["updated_at", "2022-02-05 22:16:27.395290"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products” for ::1 at 2022-02-05 17:17:08 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 66.9ms | Allocations: 28618)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1864) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 94.1ms | Allocations: 43225)
Completed 200 OK in 115ms (Views: 69.8ms | ActiveRecord: 34.9ms | Allocations: 46771)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:17:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.8ms | Allocations: 9657)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.2ms | Allocations: 23444)
Completed 200 OK in 42ms (Views: 31.2ms | ActiveRecord: 8.1ms | Allocations: 24619)
Started GET “/products?query=fa&commit=Search” for ::1 at 2022-02-05 17:18:08 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"fa", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (10.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'fa' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'fa' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.4ms | Allocations: 4122)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.0ms | Allocations: 17775)
Completed 200 OK in 37ms (Views: 22.2ms | ActiveRecord: 12.3ms | Allocations: 18771)
Started GET “/products?query=co&commit=Search” for ::1 at 2022-02-05 17:18:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"co", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.5ms | Allocations: 13171)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 26824)
Completed 200 OK in 43ms (Views: 31.4ms | ActiveRecord: 9.1ms | Allocations: 27795)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 17:18:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.7ms | Allocations: 5127)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 18899)
Completed 200 OK in 35ms (Views: 27.4ms | ActiveRecord: 5.1ms | Allocations: 20069)
Started GET “/products?query=&commit=Search” for ::1 at 2022-02-05 17:19:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 75.8ms | Allocations: 28264)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 92.2ms | Allocations: 41915)
Completed 200 OK in 94ms (Views: 74.7ms | ActiveRecord: 18.0ms | Allocations: 42492)
Started GET “/products?query=&commit=Search” for ::1 at 2022-02-05 17:19:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 54.5ms | Allocations: 28270)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 70.0ms | Allocations: 41923)
Completed 200 OK in 73ms (Views: 53.3ms | ActiveRecord: 17.3ms | Allocations: 42501)
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (5036.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
Started GET “/” for ::1 at 2022-02-05 17:20:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 119)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 954) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 14776)
Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms | Allocations: 15813)
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (5042.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (5043.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
Started GET “/products” for ::1 at 2022-02-05 17:21:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 68.4ms | Allocations: 29165)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 86.4ms | Allocations: 42828)
Completed 200 OK in 89ms (Views: 67.2ms | ActiveRecord: 19.9ms | Allocations: 43412)
Started GET “/products” for ::1 at 2022-02-05 17:21:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:8 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:11:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:11:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.3ms | Allocations: 28264)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 67.1ms | Allocations: 41917)
Completed 200 OK in 69ms (Views: 50.7ms | ActiveRecord: 16.8ms | Allocations: 42497)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:21:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.3ms | Allocations: 5239)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.0ms | Allocations: 18890)
Completed 200 OK in 36ms (Views: 28.3ms | ActiveRecord: 5.4ms | Allocations: 20060)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:21:49 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.2ms | Allocations: 4357)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 18011)
Completed 200 OK in 34ms (Views: 26.8ms | ActiveRecord: 4.8ms | Allocations: 19182)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:21:50 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.3ms | Allocations: 7381)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 21911)
Completed 200 OK in 40ms (Views: 31.7ms | ActiveRecord: 5.9ms | Allocations: 23081)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:21:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:8
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:11:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:11:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.7ms | Allocations: 4383)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.2ms | Allocations: 18885)
Completed 200 OK in 43ms (Views: 33.6ms | ActiveRecord: 6.1ms | Allocations: 20056)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:23:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 7.9ms | Allocations: 4694)
Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 4758)
Completed 500 Internal Server Error in 40ms (ActiveRecord: 10.8ms | Allocations: 14607)
ActionView::Template::Error (undefined local variable or method `categories' for #<ActionView::Base:0x0000000002d690> Did you mean? @categories):
5: </div> 6: 7: <div> 8: <% categories.each do |tag| %> 9: <p class='product-tag'> 10: <%= link_to tag, tag_path(tag), class: 'product-tag-anchor' %> 11: </p>
app/views/products/index.html.erb:8 Started GET “/tags/Fats” for ::1 at 2022-02-05 17:23:34 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 4661)
Rendered layout layouts/application.html.erb (Duration: 5.6ms | Allocations: 4725)
Completed 500 Internal Server Error in 28ms (ActiveRecord: 5.8ms | Allocations: 14353)
ActionView::Template::Error (undefined local variable or method `tags' for #<ActionView::Base:0x0000000002f558> Did you mean? tag
@tags): 5: </div> 6: 7: <div> 8: <% tags%> 9: </div> 10: 11: <div class='products-container mt-5'>
app/views/products/index.html.erb:8 Started GET “/tags/Fats” for ::1 at 2022-02-05 17:23:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:16
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:19:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 27.3ms | Allocations: 12432)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1346) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 51.3ms | Allocations: 27032)
Completed 200 OK in 57ms (Views: 43.6ms | ActiveRecord: 10.6ms | Allocations: 29012)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 17:23:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:16
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:19:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 4617)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 18276)
Completed 200 OK in 32ms (Views: 25.7ms | ActiveRecord: 3.5ms | Allocations: 19461)
[1m[35m (5043.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m [1m[35m (5035.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m [1m[35m (4.6ms)[0m [1m[34mSELECT COUNT(*) FROM "products"[0m
Started GET “/products?query=&commit=Search” for ::1 at 2022-02-05 17:32:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:16
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:19:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:19:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 69.0ms | Allocations: 28868)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 95.1ms | Allocations: 42519)
Completed 200 OK in 115ms (Views: 72.8ms | ActiveRecord: 34.3ms | Allocations: 46054)
Started GET “/products/17” for ::1 at 2022-02-05 17:32:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 27.7ms | Allocations: 12869)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 26388)
Completed 200 OK in 89ms (Views: 43.2ms | ActiveRecord: 19.1ms | Allocations: 38139)
Started DELETE “/products/17” for ::1 at 2022-02-05 17:32:31 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"17"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 293)
Started GET “/users/sign_in” for ::1 at 2022-02-05 17:32:31 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.5ms | Allocations: 9450)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 23162)
Completed 200 OK in 51ms (Views: 33.7ms | ActiveRecord: 6.4ms | Allocations: 30654)
Started POST “/users/sign_in” for ::1 at 2022-02-05 17:32:39 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 225ms (ActiveRecord: 1.3ms | Allocations: 3574)
Started GET “/” for ::1 at 2022-02-05 17:32:39 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.9ms | Allocations: 115)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 2047) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.4ms | Allocations: 14989)
Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.8ms | Allocations: 16032)
Started GET “/products” for ::1 at 2022-02-05 17:32:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:16 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:19:in `map' Rendered products/index.html.erb within layouts/application (Duration: 60.1ms | Allocations: 29424)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 78.7ms | Allocations: 43983)
Completed 200 OK in 81ms (Views: 59.8ms | ActiveRecord: 19.3ms | Allocations: 44584)
Started GET “/products/17” for ::1 at 2022-02-05 17:32:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 20.6ms | Allocations: 12256)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 25903)
Completed 200 OK in 42ms (Views: 36.2ms | ActiveRecord: 3.6ms | Allocations: 27043)
Started DELETE “/products/17” for ::1 at 2022-02-05 17:32:47 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"17"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (2.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Completed 500 Internal Server Error in 20ms (ActiveRecord: 8.0ms | Allocations: 7551)
ActiveRecord::InvalidForeignKey (PG::ForeignKeyViolation: ERROR: update or delete on table “products” violates foreign key constraint “fk_rails_5e1376a5c2” on table “taggings” DETAIL: Key (id)=(17) is still referenced from table “taggings”. ):
app/controllers/products_controller.rb:49:in `destroy' Started DELETE “/products/17” for ::1 at 2022-02-05 17:33:49 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"17"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (0.8ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 33]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 34]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (1.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 17]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 92ms (ActiveRecord: 33.6ms | Allocations: 29610)
Started GET “/products” for ::1 at 2022-02-05 17:33:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:16 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (2.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:19:in `map' Rendered products/index.html.erb within layouts/application (Duration: 70.5ms | Allocations: 32071)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1815) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 89.7ms | Allocations: 46536)
Completed 200 OK in 93ms (Views: 65.2ms | ActiveRecord: 25.7ms | Allocations: 47246)
Started GET “/products/15” for ::1 at 2022-02-05 17:33:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 26.3ms | Allocations: 13158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.2ms | Allocations: 26768)
Completed 200 OK in 69ms (Views: 44.8ms | ActiveRecord: 11.2ms | Allocations: 33060)
Started DELETE “/products/15” for ::1 at 2022-02-05 17:33:55 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"15"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 15]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (0.9ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 29]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.0ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 30]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (1.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 15]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 25ms (ActiveRecord: 10.2ms | Allocations: 8570)
Started GET “/products” for ::1 at 2022-02-05 17:33:55 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:16 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:19:in `map' Rendered products/index.html.erb within layouts/application (Duration: 50.6ms | Allocations: 25499)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.0ms | Allocations: 40045)
Completed 200 OK in 70ms (Views: 50.5ms | ActiveRecord: 17.9ms | Allocations: 40643)
Started GET “/products” for ::1 at 2022-02-05 17:39:37 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:16 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:19:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:19:in `map' Rendered products/index.html.erb within layouts/application (Duration: 51.1ms | Allocations: 26260)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.9ms | Allocations: 2280) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 1654.5ms | Allocations: 131796)
Completed 200 OK in 1684ms (Views: 1636.6ms | ActiveRecord: 34.0ms | Allocations: 136137)
Started GET “/products” for ::1 at 2022-02-05 17:40:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:17 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:20:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.9ms | Allocations: 25949)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 73.3ms | Allocations: 41529)
Completed 200 OK in 78ms (Views: 58.5ms | ActiveRecord: 17.3ms | Allocations: 42927)
Started GET “/products” for ::1 at 2022-02-05 17:40:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:17 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:20:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:20:in `map' Rendered products/index.html.erb within layouts/application (Duration: 54.4ms | Allocations: 25529)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.6ms | Allocations: 40086)
Completed 200 OK in 78ms (Views: 57.7ms | ActiveRecord: 18.4ms | Allocations: 40688)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:40:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.4ms | Allocations: 4927)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.4ms | Allocations: 20309)
Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 5.1ms | Allocations: 22059)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:40:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.0ms | Allocations: 7021)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.8ms | Allocations: 21567)
Completed 200 OK in 40ms (Views: 28.8ms | ActiveRecord: 7.6ms | Allocations: 22755)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:40:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.9ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 20064)
Completed 200 OK in 46ms (Views: 38.7ms | ActiveRecord: 5.1ms | Allocations: 21253)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:40:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.9ms | Allocations: 10042)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 24590)
Completed 200 OK in 50ms (Views: 37.4ms | ActiveRecord: 9.5ms | Allocations: 25778)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:40:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.2ms | Allocations: 8410)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 23087)
Completed 200 OK in 49ms (Views: 35.9ms | ActiveRecord: 9.8ms | Allocations: 24275)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 17:40:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.3ms | Allocations: 5524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.0ms | Allocations: 20070)
Completed 200 OK in 42ms (Views: 30.1ms | ActiveRecord: 7.3ms | Allocations: 21259)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:40:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.7ms | Allocations: 4633)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 20080)
Completed 200 OK in 49ms (Views: 39.2ms | ActiveRecord: 5.9ms | Allocations: 21269)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 17:40:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.8ms | Allocations: 5510)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 20057)
Completed 200 OK in 42ms (Views: 31.0ms | ActiveRecord: 6.2ms | Allocations: 21245)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 17:40:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.7ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.1ms | Allocations: 20067)
Completed 200 OK in 37ms (Views: 29.7ms | ActiveRecord: 4.7ms | Allocations: 21255)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 17:40:31 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.1ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.8ms | Allocations: 20078)
Completed 200 OK in 52ms (Views: 40.5ms | ActiveRecord: 8.1ms | Allocations: 21267)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:40:33 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.6ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 20062)
Completed 200 OK in 52ms (Views: 39.3ms | ActiveRecord: 7.9ms | Allocations: 21250)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:40:33 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.2ms | Allocations: 5419)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 20067)
Completed 200 OK in 40ms (Views: 30.8ms | ActiveRecord: 6.6ms | Allocations: 21255)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:41:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.4ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1232.1ms | Allocations: 110460)
Completed 200 OK in 1236ms (Views: 1228.7ms | ActiveRecord: 4.8ms | Allocations: 111646)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:41:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.8ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 19180)
Completed 200 OK in 34ms (Views: 26.9ms | ActiveRecord: 4.6ms | Allocations: 20365)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:41:31 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1228.4ms | Allocations: 110461)
Completed 200 OK in 1232ms (Views: 1225.2ms | ActiveRecord: 4.3ms | Allocations: 111647)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:41:50 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 9.9ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1195.4ms | Allocations: 109505)
Completed 200 OK in 1199ms (Views: 1191.5ms | ActiveRecord: 5.2ms | Allocations: 110690)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 17:41:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.4ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1257.7ms | Allocations: 109979)
Completed 200 OK in 1262ms (Views: 1254.1ms | ActiveRecord: 4.8ms | Allocations: 111164)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:43:38 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 22.1ms | Allocations: 7065)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.0ms | Allocations: 21611)
Completed 200 OK in 56ms (Views: 44.9ms | ActiveRecord: 7.9ms | Allocations: 22799)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:43:39 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (6.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 34.0ms | Allocations: 10038)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.0ms | Allocations: 24587)
Completed 200 OK in 57ms (Views: 39.4ms | ActiveRecord: 15.0ms | Allocations: 25776)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:43:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.2ms | Allocations: 5514)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 20060)
Completed 200 OK in 37ms (Views: 27.5ms | ActiveRecord: 5.8ms | Allocations: 21248)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:43:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.7ms | Allocations: 6882)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 21569)
Completed 200 OK in 39ms (Views: 30.9ms | ActiveRecord: 6.2ms | Allocations: 22757)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:43:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.1ms | Allocations: 5503)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 20050)
Completed 200 OK in 47ms (Views: 35.8ms | ActiveRecord: 8.0ms | Allocations: 21238)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:43:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:17
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:20:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:20:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 29.6ms | Allocations: 9950)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.1ms | Allocations: 24588)
Completed 200 OK in 55ms (Views: 42.3ms | ActiveRecord: 10.0ms | Allocations: 25777)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.8ms | Allocations: 9575)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 25157)
Completed 200 OK in 49ms (Views: 38.8ms | ActiveRecord: 7.5ms | Allocations: 27142)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:19 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.3ms | Allocations: 9167)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 24264)
Completed 200 OK in 49ms (Views: 39.0ms | ActiveRecord: 7.2ms | Allocations: 25451)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.0ms | Allocations: 9160)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1515.2ms | Allocations: 114511)
Completed 200 OK in 1519ms (Views: 1509.1ms | ActiveRecord: 7.4ms | Allocations: 115696)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.3ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 24245)
Completed 200 OK in 42ms (Views: 31.7ms | ActiveRecord: 7.6ms | Allocations: 25432)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.3ms | Allocations: 9161)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1236.1ms | Allocations: 114989)
Completed 200 OK in 1240ms (Views: 1229.6ms | ActiveRecord: 7.8ms | Allocations: 116174)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:52 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.1ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1215.0ms | Allocations: 114064)
Completed 200 OK in 1220ms (Views: 1208.7ms | ActiveRecord: 8.0ms | Allocations: 115249)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:44:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.3ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.7ms | Allocations: 23705)
Completed 200 OK in 44ms (Views: 34.1ms | ActiveRecord: 7.7ms | Allocations: 24891)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:45:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.7ms | Allocations: 9157)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1220.0ms | Allocations: 114514)
Completed 200 OK in 1224ms (Views: 1213.1ms | ActiveRecord: 8.2ms | Allocations: 115699)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:45:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.8ms | Allocations: 9160)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1210.2ms | Allocations: 114516)
Completed 200 OK in 1215ms (Views: 1203.9ms | ActiveRecord: 7.6ms | Allocations: 115701)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:45:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.7ms | Allocations: 7033)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.2ms | Allocations: 21582)
Completed 200 OK in 47ms (Views: 36.7ms | ActiveRecord: 7.0ms | Allocations: 22771)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:45:34 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 20.1ms | Allocations: 8431)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 23088)
Completed 200 OK in 44ms (Views: 34.3ms | ActiveRecord: 7.7ms | Allocations: 24276)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:45:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 35.6ms | Allocations: 10046)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.1ms | Allocations: 24594)
Completed 200 OK in 69ms (Views: 51.1ms | ActiveRecord: 13.6ms | Allocations: 25783)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:45:35 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.9ms | Allocations: 5508)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 20054)
Completed 200 OK in 47ms (Views: 37.3ms | ActiveRecord: 6.3ms | Allocations: 21242)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:46:07 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.1ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1284.2ms | Allocations: 109065)
Completed 200 OK in 1288ms (Views: 1280.3ms | ActiveRecord: 5.2ms | Allocations: 110250)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:46:19 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.5ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1212.3ms | Allocations: 110022)
Completed 200 OK in 1216ms (Views: 1208.6ms | ActiveRecord: 4.9ms | Allocations: 111207)
Started GET “/products” for ::1 at 2022-02-05 17:46:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 55.5ms | Allocations: 26426)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 72.6ms | Allocations: 40975)
Completed 200 OK in 75ms (Views: 55.4ms | ActiveRecord: 17.7ms | Allocations: 41576)
Started GET “/products” for ::1 at 2022-02-05 17:46:55 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 55.1ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1303.1ms | Allocations: 131355)
Completed 200 OK in 1305ms (Views: 1285.3ms | ActiveRecord: 18.4ms | Allocations: 131952)
Started GET “/products” for ::1 at 2022-02-05 17:47:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 71.1ms | Allocations: 25525)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1237.7ms | Allocations: 131362)
Completed 200 OK in 1240ms (Views: 1217.6ms | ActiveRecord: 20.8ms | Allocations: 131959)
Started GET “/products” for ::1 at 2022-02-05 17:47:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 51.1ms | Allocations: 25524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1262.9ms | Allocations: 130405)
Completed 200 OK in 1265ms (Views: 1246.5ms | ActiveRecord: 17.1ms | Allocations: 131002)
Started GET “/products” for ::1 at 2022-02-05 17:47:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 50.1ms | Allocations: 25524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1228.9ms | Allocations: 130406)
Completed 200 OK in 1231ms (Views: 1212.9ms | ActiveRecord: 16.8ms | Allocations: 131003)
Started GET “/products” for ::1 at 2022-02-05 17:47:55 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 57.2ms | Allocations: 25526)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1258.6ms | Allocations: 129927)
Completed 200 OK in 1261ms (Views: 1241.2ms | ActiveRecord: 18.1ms | Allocations: 130524)
Started GET “/products” for ::1 at 2022-02-05 17:47:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.9ms | Allocations: 25524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.3ms | Allocations: 40070)
Completed 200 OK in 66ms (Views: 48.8ms | ActiveRecord: 16.1ms | Allocations: 40670)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:48:01 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 12.9ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.3ms | Allocations: 20067)
Completed 200 OK in 40ms (Views: 32.1ms | ActiveRecord: 5.3ms | Allocations: 21256)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:48:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.7ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1259.2ms | Allocations: 109999)
Completed 200 OK in 1265ms (Views: 1253.4ms | ActiveRecord: 7.9ms | Allocations: 111184)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:48:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.8ms | Allocations: 4633)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1286.5ms | Allocations: 109584)
Completed 200 OK in 1291ms (Views: 1282.9ms | ActiveRecord: 4.8ms | Allocations: 110770)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 17:48:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.0ms | Allocations: 4633)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.9ms | Allocations: 19180)
Completed 200 OK in 31ms (Views: 23.4ms | ActiveRecord: 4.9ms | Allocations: 20368)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:48:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 16.7ms | Allocations: 7027)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.0ms | Allocations: 21573)
Completed 200 OK in 40ms (Views: 29.9ms | ActiveRecord: 6.7ms | Allocations: 22761)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:48:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.4ms | Allocations: 8448)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 23086)
Completed 200 OK in 43ms (Views: 34.1ms | ActiveRecord: 7.1ms | Allocations: 24275)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:48:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 16.8ms | Allocations: 7026)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 21572)
Completed 200 OK in 40ms (Views: 28.8ms | ActiveRecord: 7.6ms | Allocations: 22760)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:48:55 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.1ms | Allocations: 8412)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.7ms | Allocations: 23090)
Completed 200 OK in 54ms (Views: 42.0ms | ActiveRecord: 9.1ms | Allocations: 24278)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:48:56 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.1ms | Allocations: 7648)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 22194)
Completed 200 OK in 44ms (Views: 33.5ms | ActiveRecord: 7.9ms | Allocations: 23382)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:48:58 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 12.2ms | Allocations: 5427)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 20065)
Completed 200 OK in 37ms (Views: 27.9ms | ActiveRecord: 5.7ms | Allocations: 21254)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:48:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.8ms | Allocations: 6948)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.0ms | Allocations: 21588)
Completed 200 OK in 53ms (Views: 36.9ms | ActiveRecord: 7.4ms | Allocations: 22777)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:49:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 12.8ms | Allocations: 6563)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2232) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 32.6ms | Allocations: 22147)
Completed 200 OK in 41ms (Views: 31.4ms | ActiveRecord: 5.7ms | Allocations: 24132)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:49:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.0ms | Allocations: 6554)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 22134)
Completed 200 OK in 40ms (Views: 31.3ms | ActiveRecord: 5.4ms | Allocations: 24113)
Started GET “/products” for ::1 at 2022-02-05 17:49:17 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 79.0ms | Allocations: 26414)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 95.4ms | Allocations: 40970)
Completed 200 OK in 98ms (Views: 77.8ms | ActiveRecord: 18.1ms | Allocations: 41572)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:49:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.8ms | Allocations: 6142)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.7ms | Allocations: 21580)
Completed 200 OK in 39ms (Views: 31.2ms | ActiveRecord: 5.6ms | Allocations: 22768)
Started GET “/tags/Soups” for ::1 at 2022-02-05 17:49:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 22.1ms | Allocations: 10046)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.7ms | Allocations: 24592)
Completed 200 OK in 43ms (Views: 31.9ms | ActiveRecord: 8.2ms | Allocations: 25780)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 17:49:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 22.2ms | Allocations: 6906)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.3ms | Allocations: 21593)
Completed 200 OK in 56ms (Views: 44.9ms | ActiveRecord: 7.8ms | Allocations: 22782)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 17:49:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 16.4ms | Allocations: 5537)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 20085)
Completed 200 OK in 43ms (Views: 33.1ms | ActiveRecord: 5.9ms | Allocations: 21274)
Started GET “/tags/Fats” for ::1 at 2022-02-05 17:49:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.1ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.8ms | Allocations: 20072)
Completed 200 OK in 36ms (Views: 29.2ms | ActiveRecord: 4.9ms | Allocations: 21260)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 17:49:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 23.4ms | Allocations: 10035)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.9ms | Allocations: 24581)
Completed 200 OK in 47ms (Views: 34.5ms | ActiveRecord: 8.9ms | Allocations: 25769)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 17:49:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 12.8ms | Allocations: 4631)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 20075)
Completed 200 OK in 41ms (Views: 33.3ms | ActiveRecord: 5.1ms | Allocations: 21263)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 17:49:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.8ms | Allocations: 5527)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 20075)
Completed 200 OK in 37ms (Views: 27.6ms | ActiveRecord: 5.6ms | Allocations: 21264)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 17:49:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.8ms | Allocations: 6142)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.9ms | Allocations: 20689)
Completed 200 OK in 44ms (Views: 33.2ms | ActiveRecord: 8.1ms | Allocations: 21877)
Started GET “/products?query=co&commit=Search” for ::1 at 2022-02-05 17:49:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"co", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 30.1ms | Allocations: 13446)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.8ms | Allocations: 27992)
Completed 200 OK in 50ms (Views: 36.1ms | ActiveRecord: 11.3ms | Allocations: 29005)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 17:49:39 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.5ms | Allocations: 8434)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.4ms | Allocations: 23087)
Completed 200 OK in 48ms (Views: 39.0ms | ActiveRecord: 6.5ms | Allocations: 24276)
Started GET “/products” for ::1 at 2022-02-05 17:49:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.8ms | Allocations: 26418)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.7ms | Allocations: 40967)
Completed 200 OK in 68ms (Views: 49.5ms | ActiveRecord: 16.7ms | Allocations: 41568)
Started GET “/products” for ::1 at 2022-02-05 17:52:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 53.7ms | Allocations: 25939)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 79.9ms | Allocations: 41521)
Completed 200 OK in 86ms (Views: 65.9ms | ActiveRecord: 17.1ms | Allocations: 42918)
Started GET “/products/new” for ::1 at 2022-02-05 17:52:34 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 35.6ms | Allocations: 18345)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 52.4ms | Allocations: 32014)
Completed 200 OK in 60ms (Views: 53.3ms | ActiveRecord: 1.4ms | Allocations: 33822)
Started POST “/products” for ::1 at 2022-02-05 17:52:42 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"", "name"=>"", "description"=>"", "price"=>"", "stock"=>"", "tag_list"=>"Seeds"}, "commit"=>"Add product"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", ""], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 33.8ms | Allocations: 26465)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.7ms | Allocations: 40103)
Completed 200 OK in 61ms (Views: 50.2ms | ActiveRecord: 3.8ms | Allocations: 45496)
Started POST “/products” for ::1 at 2022-02-05 17:52:58 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"q", "description"=>"qsqwerwerewrwer`", "price"=>"1", "stock"=>"2", "tag_list"=>"Cereals"}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABC"], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 25.9ms | Allocations: 15900)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 29541)
Completed 200 OK in 52ms (Views: 41.9ms | ActiveRecord: 3.4ms | Allocations: 34147)
Started POST “/products” for ::1 at 2022-02-05 17:53:01 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"q22w", "description"=>"qsqwerwerewrwer`", "price"=>"1", "stock"=>"2", "tag_list"=>""}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABC"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABC"], ["name", "q22w"], ["description", "qsqwerwerewrwer`"], ["price", 1.0], ["stock", 2], ["created_at", "2022-02-05 22:53:01.468463"], ["updated_at", "2022-02-05 22:53:01.468463"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 302 Found in 17ms (ActiveRecord: 6.2ms | Allocations: 4943)
Started GET “/products” for ::1 at 2022-02-05 17:53:01 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 55.9ms | Allocations: 26967)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.2ms | Allocations: 41515)
Completed 200 OK in 76ms (Views: 55.7ms | ActiveRecord: 18.9ms | Allocations: 42113)
Started GET “/products/19” for ::1 at 2022-02-05 17:53:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 24.4ms | Allocations: 13228)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 26752)
Completed 200 OK in 47ms (Views: 38.2ms | ActiveRecord: 3.6ms | Allocations: 28021)
Started GET “/products/19/edit” for ::1 at 2022-02-05 17:53:13 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"19"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 22.7ms | Allocations: 14672)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 28469)
Completed 200 OK in 46ms (Views: 38.0ms | ActiveRecord: 3.3ms | Allocations: 31214)
Started PATCH “/products/19” for ::1 at 2022-02-05 17:53:23 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABC", "name"=>"q22w", "description"=>"qsqwerwerewrwer`", "price"=>"1.0", "stock"=>"2", "tag_list"=>"Sauce"}, "commit"=>"Update product", "id"=>"19"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:40:in `update' [1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABC"], ["id", 19], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:40:in `update' [1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m ↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/19 Completed 302 Found in 15ms (ActiveRecord: 4.7ms | Allocations: 5212)
Started GET “/products/19” for ::1 at 2022-02-05 17:53:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 17.1ms | Allocations: 11493)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 873) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 25010)
Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 2.7ms | Allocations: 26148)
Started GET “/products/19/edit” for ::1 at 2022-02-05 17:53:25 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"19"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 21.7ms | Allocations: 14166)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 27958)
Completed 200 OK in 49ms (Views: 41.7ms | ActiveRecord: 2.9ms | Allocations: 30577)
Started GET “/products” for ::1 at 2022-02-05 17:53:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 53.7ms | Allocations: 27856)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 70.0ms | Allocations: 42404)
Completed 200 OK in 72ms (Views: 53.1ms | ActiveRecord: 17.4ms | Allocations: 43005)
Started GET “/products/new” for ::1 at 2022-02-05 17:54:13 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 21.7ms | Allocations: 17549)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 31223)
Completed 200 OK in 87ms (Views: 37.9ms | ActiveRecord: 17.9ms | Allocations: 46374)
Started POST “/products” for ::1 at 2022-02-05 17:54:24 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABD", "name"=>"qwewqe", "description"=>"qweqweqweqwe", "price"=>"3", "stock"=>"23", "tag_list"=>"Cereals"}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABD"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABD"], ["name", "qwewqe"], ["description", "qweqweqweqwe"], ["price", 3.0], ["stock", 23], ["created_at", "2022-02-05 22:54:25.001352"], ["updated_at", "2022-02-05 22:54:25.001352"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 500 Internal Server Error in 15ms (ActiveRecord: 5.1ms | Allocations: 5612)
RuntimeError ():
app/controllers/products_controller.rb:29:in `create' Started PUT “/__web_console/repl_sessions/ebfcd3e45630f1ac386c385e7b585d29” for ::1 at 2022-02-05 17:54:27 -0500 Started PUT “/__web_console/repl_sessions/ebfcd3e45630f1ac386c385e7b585d29” for ::1 at 2022-02-05 17:54:28 -0500 Started PUT “/__web_console/repl_sessions/ebfcd3e45630f1ac386c385e7b585d29” for ::1 at 2022-02-05 17:54:40 -0500 Started PUT “/__web_console/repl_sessions/ebfcd3e45630f1ac386c385e7b585d29” for ::1 at 2022-02-05 17:54:43 -0500
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1 /* loading for inspect */ LIMIT $2[0m [["product_id", 20], ["LIMIT", 11]]
Started PUT “/__web_console/repl_sessions/ebfcd3e45630f1ac386c385e7b585d29” for ::1 at 2022-02-05 17:54:45 -0500
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/models/product.rb:18:in `map'
Started GET “/products/new” for ::1 at 2022-02-05 17:55:07 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 19.3ms | Allocations: 17541)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 31215)
Completed 200 OK in 66ms (Views: 34.1ms | ActiveRecord: 11.6ms | Allocations: 46018)
Started GET “/products/new” for ::1 at 2022-02-05 17:55:20 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 17.0ms | Allocations: 12838)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1336) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 27535)
Completed 200 OK in 44ms (Views: 38.1ms | ActiveRecord: 1.2ms | Allocations: 30013)
Started POST “/products” for ::1 at 2022-02-05 17:55:34 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABD", "name"=>"qweqweqw", "description"=>"qweqweqweqwe", "price"=>"2", "stock"=>"21", "tag_list"=>"Sauce, Fat"}, "commit"=>"Add product"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABD"], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application Rendered products/new.html.erb within layouts/application (Duration: 20.9ms | Allocations: 13665)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 27311)
Completed 200 OK in 56ms (Views: 43.9ms | ActiveRecord: 4.0ms | Allocations: 32167)
Started POST “/products” for ::1 at 2022-02-05 17:55:38 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABE", "name"=>"qweqweqw", "description"=>"qweqweqweqwe", "price"=>"2", "stock"=>"21", "tag_list"=>""}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABE"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABE"], ["name", "qweqweqw"], ["description", "qweqweqweqwe"], ["price", 2.0], ["stock", 21], ["created_at", "2022-02-05 22:55:38.196454"], ["updated_at", "2022-02-05 22:55:38.196454"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 302 Found in 14ms (ActiveRecord: 4.8ms | Allocations: 4941)
Started GET “/products” for ::1 at 2022-02-05 17:55:38 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 67.3ms | Allocations: 34360)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 83.5ms | Allocations: 48818)
Completed 200 OK in 86ms (Views: 56.9ms | ActiveRecord: 26.9ms | Allocations: 49547)
Started GET “/products/21” for ::1 at 2022-02-05 17:55:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 27.4ms | Allocations: 13722)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 27247)
Completed 200 OK in 90ms (Views: 41.0ms | ActiveRecord: 24.1ms | Allocations: 38750)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:55:56 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 21.3ms | Allocations: 14464)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 28258)
Completed 200 OK in 46ms (Views: 36.5ms | ActiveRecord: 3.4ms | Allocations: 31003)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:56:14 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 16.4ms | Allocations: 13679)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1336) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 28369)
Completed 200 OK in 42ms (Views: 35.1ms | ActiveRecord: 2.2ms | Allocations: 31784)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:56:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 18.2ms | Allocations: 13556)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1337) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 28247)
Completed 200 OK in 46ms (Views: 38.4ms | ActiveRecord: 2.6ms | Allocations: 31663)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:57:15 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 28.8ms | Allocations: 19119)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 42.9ms | Allocations: 32784)
Completed 200 OK in 84ms (Views: 36.0ms | ActiveRecord: 20.0ms | Allocations: 48845)
Started PATCH “/products/21” for ::1 at 2022-02-05 17:57:19 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABE", "name"=>"qweqweqw", "description"=>"qweqweqweqwe", "price"=>"2.0", "stock"=>"21", "tag_list"=>"Sauce, Fat"}, "commit"=>"Update product", "id"=>"21"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:41:in `update' [1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABE"], ["id", 21], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:41:in `update' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/models/product.rb:18:in `map' [1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:41:in `update' Rendering layout layouts/application.html.erb Rendering products/edit.html.erb within layouts/application Rendered products/edit.html.erb within layouts/application (Duration: 16.5ms | Allocations: 13566)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 27206)
Completed 200 OK in 49ms (Views: 33.4ms | ActiveRecord: 5.0ms | Allocations: 34396)
Started PATCH “/products/21” for ::1 at 2022-02-05 17:57:28 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABE", "name"=>"qweqweqw", "description"=>"qweqweqweqwe", "price"=>"2.0", "stock"=>"21", "tag_list"=>"Sauce"}, "commit"=>"Update product", "id"=>"21"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[31mUnpermitted parameter: :tag_list[0m
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:41:in `update' [1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABE"], ["id", 21], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:41:in `update' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/models/product.rb:18:in `map' [1m[36mTRANSACTION (0.5ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:41:in `update' Rendering layout layouts/application.html.erb Rendering products/edit.html.erb within layouts/application Rendered products/edit.html.erb within layouts/application (Duration: 14.8ms | Allocations: 13531)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 27172)
Completed 200 OK in 52ms (Views: 36.3ms | ActiveRecord: 5.3ms | Allocations: 34120)
Started GET “/products/21” for ::1 at 2022-02-05 17:57:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 31.8ms | Allocations: 19643)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 47.3ms | Allocations: 33171)
Completed 200 OK in 92ms (Views: 41.4ms | ActiveRecord: 23.1ms | Allocations: 49314)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:57:50 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 37.9ms | Allocations: 20010)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.2ms | Allocations: 33662)
Completed 200 OK in 59ms (Views: 45.1ms | ActiveRecord: 9.8ms | Allocations: 36283)
Started PATCH “/products/21” for ::1 at 2022-02-05 17:57:55 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABE", "name"=>"qweqweqw", "description"=>"qweqweqweqwe", "price"=>"2.0", "stock"=>"21", "tag_list"=>"Sauce"}, "commit"=>"Update product", "id"=>"21"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauce"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (1.1ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauce"], ["created_at", "2022-02-05 22:57:55.034576"], ["updated_at", "2022-02-05 22:57:55.034576"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:22:in `tag_list='
[1m[36mTagging Create (1.9ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 12], ["product_id", 21], ["created_at", "2022-02-05 22:57:55.044846"], ["updated_at", "2022-02-05 22:57:55.044846"]]
↳ app/models/product.rb:22:in `tag_list='
[1m[36mProduct Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABE"], ["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:41:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:41:in `update'
Redirected to localhost:3000/products/21 Completed 302 Found in 34ms (ActiveRecord: 12.1ms | Allocations: 13463)
Started GET “/products/21” for ::1 at 2022-02-05 17:57:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 16.1ms | Allocations: 11491)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.8ms | Allocations: 25009)
Completed 200 OK in 34ms (Views: 28.8ms | ActiveRecord: 2.7ms | Allocations: 26147)
Started GET “/products/21/edit” for ::1 at 2022-02-05 17:57:56 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"21"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:36:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/models/product.rb:18:in `map'
Rendered products/edit.html.erb within layouts/application (Duration: 28.0ms | Allocations: 14077)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.6ms | Allocations: 27880)
Completed 200 OK in 53ms (Views: 44.5ms | ActiveRecord: 3.2ms | Allocations: 30499)
Started GET “/products” for ::1 at 2022-02-05 17:57:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 60.6ms | Allocations: 31179)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 78.8ms | Allocations: 45735)
Completed 200 OK in 82ms (Views: 58.9ms | ActiveRecord: 20.4ms | Allocations: 46460)
Started GET “/products/21” for ::1 at 2022-02-05 18:02:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (3.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 28.7ms | Allocations: 11514)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.1ms | Allocations: 25930)
Completed 200 OK in 69ms (Views: 59.9ms | ActiveRecord: 6.4ms | Allocations: 27072)
Started DELETE “/products/21” for ::1 at 2022-02-05 18:03:00 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"21"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 21]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 21]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTagging Load (1.4ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTagging Destroy (1.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 37]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mProduct Destroy (1.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 21]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 28ms (ActiveRecord: 9.7ms | Allocations: 8686)
Started GET “/products” for ::1 at 2022-02-05 18:03:00 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 69.5ms | Allocations: 28403)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 89.4ms | Allocations: 42949)
Completed 200 OK in 92ms (Views: 67.9ms | ActiveRecord: 21.9ms | Allocations: 43547)
Started GET “/products/20” for ::1 at 2022-02-05 18:03:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"20"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 27.5ms | Allocations: 12242)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.6ms | Allocations: 25910)
Completed 200 OK in 47ms (Views: 41.2ms | ActiveRecord: 3.7ms | Allocations: 27054)
Started DELETE “/products/20” for ::1 at 2022-02-05 18:03:04 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"20"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 20]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 20]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTagging Load (1.0ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mProduct Destroy (1.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 20]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 20ms (ActiveRecord: 8.0ms | Allocations: 6914)
Started GET “/products” for ::1 at 2022-02-05 18:03:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 57.5ms | Allocations: 26964)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 78.2ms | Allocations: 41512)
Completed 200 OK in 81ms (Views: 58.8ms | ActiveRecord: 20.0ms | Allocations: 42109)
Started GET “/products/19” for ::1 at 2022-02-05 18:03:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 20.2ms | Allocations: 12260)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 77.9ms | Allocations: 25924)
Completed 200 OK in 82ms (Views: 75.4ms | ActiveRecord: 3.8ms | Allocations: 27065)
Started DELETE “/products/19” for ::1 at 2022-02-05 18:03:07 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"19"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 19]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 19]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTagging Load (1.4ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mProduct Destroy (1.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 19]]
↳ app/controllers/products_controller.rb:50:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:50:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 20ms (ActiveRecord: 8.0ms | Allocations: 6914)
Started GET “/products” for ::1 at 2022-02-05 18:03:08 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.2ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.0ms | Allocations: 40069)
Completed 200 OK in 67ms (Views: 49.5ms | ActiveRecord: 15.9ms | Allocations: 40666)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 18:08:47 -0500
SyntaxError (/Users/gabriel/Desktop/Gabriel/Applaudo Studios/week4 - heroku/rails-store-app/app/controllers/products_controller.rb:62: syntax error, unexpected ')', expecting `end' …ag, { tag_ids: [] }, :tag_ids)) … ^ ):
app/controllers/products_controller.rb:62: syntax error, unexpected ')', expecting `end' app/controllers/products_controller.rb:62: syntax error, unexpected ')', expecting `end' app/controllers/products_controller.rb:62: syntax error, unexpected ')', expecting `end' Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 18:09:08 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 20.5ms | Allocations: 11315)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 36.7ms | Allocations: 7254) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 82.0ms | Allocations: 31822)
Completed 200 OK in 127ms (Views: 78.9ms | ActiveRecord: 20.2ms | Allocations: 44207)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 18:09:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 24.0ms | Allocations: 8448)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.0ms | Allocations: 23095)
Completed 200 OK in 72ms (Views: 60.0ms | ActiveRecord: 9.3ms | Allocations: 24285)
Started GET “/tags/Soups” for ::1 at 2022-02-05 18:09:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 29.3ms | Allocations: 10038)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.7ms | Allocations: 24584)
Completed 200 OK in 60ms (Views: 47.9ms | ActiveRecord: 9.3ms | Allocations: 25772)
Started GET “/products” for ::1 at 2022-02-05 18:09:13 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 51.9ms | Allocations: 26421)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.9ms | Allocations: 40967)
Completed 200 OK in 72ms (Views: 52.6ms | ActiveRecord: 17.8ms | Allocations: 41568)
Started GET “/products/new” for ::1 at 2022-02-05 18:09:15 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 31.2ms | Allocations: 17534)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 52.0ms | Allocations: 31200)
Completed 200 OK in 61ms (Views: 49.9ms | ActiveRecord: 4.1ms | Allocations: 33007)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "tags"[0m [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags"[0m
Started GET “/products” for ::1 at 2022-02-05 18:11:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 91.4ms | Allocations: 37060)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 19.5ms | Allocations: 8079) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 134.9ms | Allocations: 58392)
Completed 200 OK in 147ms (Views: 92.6ms | ActiveRecord: 44.4ms | Allocations: 63046)
Started GET “/products/new” for ::1 at 2022-02-05 18:11:45 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 43.9ms | Allocations: 17104)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 65.2ms | Allocations: 30874)
Completed 200 OK in 71ms (Views: 63.9ms | ActiveRecord: 2.9ms | Allocations: 32682)
Started POST “/products” for ::1 at 2022-02-05 18:12:06 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABZ", "name"=>"Coca Cola", "description"=>"Some soda coke", "price"=>"1", "stock"=>"20", "tag_ids"=>["", "8", "7"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 8], ["id", 7]]
↳ app/controllers/products_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABZ"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABZ"], ["name", "Coca Cola"], ["description", "Some soda coke"], ["price", 1.0], ["stock", 20], ["created_at", "2022-02-05 23:12:06.740226"], ["updated_at", "2022-02-05 23:12:06.740226"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 22], ["created_at", "2022-02-05 23:12:06.743805"], ["updated_at", "2022-02-05 23:12:06.743805"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 22], ["created_at", "2022-02-05 23:12:06.746690"], ["updated_at", "2022-02-05 23:12:06.746690"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 500 Internal Server Error in 32ms (ActiveRecord: 11.9ms | Allocations: 11930)
RuntimeError ():
app/controllers/products_controller.rb:29:in `create' Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:10 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:11 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:19 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:22 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:32 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:43 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:12:54 -0500 Started PUT “/__web_console/repl_sessions/e33c173b1a34d0916185eb72da0d9148” for ::1 at 2022-02-05 18:13:00 -0500 Started GET “/products/new” for ::1 at 2022-02-05 18:13:46 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 36.0ms | Allocations: 22343)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 55.5ms | Allocations: 36016)
Completed 200 OK in 87ms (Views: 47.8ms | ActiveRecord: 19.0ms | Allocations: 50880)
Started POST “/products” for ::1 at 2022-02-05 18:13:48 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABZ", "name"=>"Coca Cola", "description"=>"Some soda coke", "price"=>"1", "stock"=>"20", "tag_ids"=>["", "8", "7"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 8], ["id", 7]]
↳ app/controllers/products_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABZ"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:27:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/new.html.erb:11
Rendered products/new.html.erb within layouts/application (Duration: 23.5ms | Allocations: 16674)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.0ms | Allocations: 30314)
Completed 200 OK in 70ms (Views: 46.5ms | ActiveRecord: 8.0ms | Allocations: 39284)
Started POST “/products” for ::1 at 2022-02-05 18:13:56 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABQ", "name"=>"Coca Cola", "description"=>"Some soda coke", "price"=>"1", "stock"=>"20", "tag_ids"=>["", "8", "7"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 8], ["id", 7]]
↳ app/controllers/products_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ABQ"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.2ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ABQ"], ["name", "Coca Cola"], ["description", "Some soda coke"], ["price", 1.0], ["stock", 20], ["created_at", "2022-02-05 23:13:56.594001"], ["updated_at", "2022-02-05 23:13:56.594001"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 23], ["created_at", "2022-02-05 23:13:56.597416"], ["updated_at", "2022-02-05 23:13:56.597416"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 23], ["created_at", "2022-02-05 23:13:56.602385"], ["updated_at", "2022-02-05 23:13:56.602385"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 302 Found in 28ms (ActiveRecord: 9.9ms | Allocations: 8802)
Started GET “/products” for ::1 at 2022-02-05 18:13:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 56.3ms | Allocations: 28839)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 25.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 96.8ms | Allocations: 43385)
Completed 200 OK in 99ms (Views: 78.4ms | ActiveRecord: 18.9ms | Allocations: 43989)
Started GET “/products/23” for ::1 at 2022-02-05 18:14:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 13800)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 27327)
Completed 200 OK in 71ms (Views: 34.5ms | ActiveRecord: 16.2ms | Allocations: 36890)
Started GET “/products/23/edit” for ::1 at 2022-02-05 18:14:03 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"23"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
Rendered products/edit.html.erb within layouts/application (Duration: 0.8ms | Allocations: 1281)
Rendered layout layouts/application.html.erb (Duration: 1.0ms | Allocations: 1346)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.7ms | Allocations: 4060)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Edit product</h1>
<div class='user-form'>
<%= simple_form_for(@product) do |f| %>
<div class="form-inputs">
<%= f.input :sku, label: 'SKU' %>
<%= f.input :name %>
<%= f.input :description, as: :text %>
<%= f.input :price %>
<%= f.input :stock %>
<%= f.input :tag_ids, as: :select, label: 'Tags'
collection: Tag.order(:name), label_method: :name, input_html: { multiple: true } %>
</div>
<div class="form-actions">
<%= f.submit 'Update product', class: 'btn btn-primary' %>
</div>
<% end %>
<div class='text-center'>
<%= link_to "Back", :back %>
</div>
</div> ): 1: <h1>Edit product</h1> 2:
3: <div class='user-form'> 4: <%= simple_form_for(@product) do |f| %> 5: <div class=“form-inputs”> 6: <%= f.input :sku, label: 'SKU' %> 7: <%= f.input :name %> 8: <%= f.input :description, as: :text %> 9: <%= f.input :price %> 10: <%= f.input :stock %> 11: <%= f.input :tag_ids, as: :select, label: 'Tags' 12: collection: Tag.order(:name), label_method: :name, input_html: { multiple: true } %> 13: </div> 14:
15: <div class=“form-actions”> 16: <%= f.submit 'Update product', class: 'btn btn-primary' %> 17: </div> 18: <% end %> 19: <div class='text-center'> 20: <%= link_to “Back”, :back %> 21: </div> 22: </div>
app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ':', expecting ')' app/views/products/edit.html.erb:12: syntax error, unexpected ',', expecting ')' Started GET “/products/23/edit” for ::1 at 2022-02-05 18:14:20 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"23"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.1ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 29.1ms | Allocations: 16848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1336) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 50.1ms | Allocations: 31542)
Completed 200 OK in 62ms (Views: 50.6ms | ActiveRecord: 4.2ms | Allocations: 34957)
Started PATCH “/products/23” for ::1 at 2022-02-05 18:14:28 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ABQ", "name"=>"Coca Cola", "description"=>"Some soda coke", "price"=>"1.0", "stock"=>"20", "tag_ids"=>["", "8", "6", "1", "7"]}, "commit"=>"Update product", "id"=>"23"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2, $3, $4)[0m [["id", 8], ["id", 6], ["id", 1], ["id", 7]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Create (1.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 23], ["created_at", "2022-02-05 23:14:28.224403"], ["updated_at", "2022-02-05 23:14:28.224403"]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Create (1.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 23], ["created_at", "2022-02-05 23:14:28.228131"], ["updated_at", "2022-02-05 23:14:28.228131"]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-ABQ"], ["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/23 Completed 302 Found in 27ms (ActiveRecord: 9.4ms | Allocations: 9747)
Started GET “/products/23” for ::1 at 2022-02-05 18:14:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 19.5ms | Allocations: 12320)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 35.1ms | Allocations: 25844)
Completed 200 OK in 39ms (Views: 33.6ms | ActiveRecord: 2.6ms | Allocations: 27107)
Started GET “/products” for ::1 at 2022-02-05 18:14:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 61.7ms | Allocations: 29917)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 78.2ms | Allocations: 44473)
Completed 200 OK in 80ms (Views: 59.8ms | ActiveRecord: 18.8ms | Allocations: 45199)
Started GET “/products/23” for ::1 at 2022-02-05 18:14:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mProduct Load (4.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 30.4ms | Allocations: 12278)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.3ms | Allocations: 25898)
Completed 200 OK in 68ms (Views: 47.7ms | ActiveRecord: 8.2ms | Allocations: 27039)
Started DELETE “/products/23” for ::1 at 2022-02-05 18:14:40 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"23"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 23]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (0.8ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 40]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.5ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 41]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.6ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 42]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 43]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (2.0ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 23]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 38ms (ActiveRecord: 14.5ms | Allocations: 11156)
Started GET “/products” for ::1 at 2022-02-05 18:14:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 48.4ms | Allocations: 27029)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.1ms | Allocations: 41578)
Completed 200 OK in 70ms (Views: 52.5ms | ActiveRecord: 16.0ms | Allocations: 42176)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 18:14:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.3ms | Allocations: 5819)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 20303)
Completed 200 OK in 36ms (Views: 25.8ms | ActiveRecord: 5.7ms | Allocations: 22047)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:14:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 23.0ms | Allocations: 10061)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 24607)
Completed 200 OK in 44ms (Views: 33.2ms | ActiveRecord: 8.2ms | Allocations: 25795)
Started GET “/tags/Fats” for ::1 at 2022-02-05 18:14:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.3ms | Allocations: 5519)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 20065)
Completed 200 OK in 36ms (Views: 26.6ms | ActiveRecord: 6.4ms | Allocations: 21253)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 18:14:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.9ms | Allocations: 4633)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 20071)
Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 5.1ms | Allocations: 21259)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:14:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.2ms | Allocations: 7037)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.8ms | Allocations: 21583)
Completed 200 OK in 44ms (Views: 34.0ms | ActiveRecord: 6.3ms | Allocations: 22771)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 18:14:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.0ms | Allocations: 8427)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 23077)
Completed 200 OK in 42ms (Views: 32.3ms | ActiveRecord: 7.5ms | Allocations: 24265)
Started GET “/products” for ::1 at 2022-02-05 18:14:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (4.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 76.0ms | Allocations: 27919)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 92.7ms | Allocations: 42468)
Completed 200 OK in 96ms (Views: 70.1ms | ActiveRecord: 23.6ms | Allocations: 43069)
Started GET “/products/22” for ::1 at 2022-02-05 18:15:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"22"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 12273)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.4ms | Allocations: 25922)
Completed 200 OK in 50ms (Views: 43.9ms | ActiveRecord: 4.0ms | Allocations: 27063)
Started DELETE “/products/22” for ::1 at 2022-02-05 18:15:05 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"22"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 22]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 22]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (0.8ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 38]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.0ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 39]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (1.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 22]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 25ms (ActiveRecord: 10.2ms | Allocations: 8571)
Started GET “/products” for ::1 at 2022-02-05 18:15:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 47.7ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.0ms | Allocations: 40069)
Completed 200 OK in 67ms (Views: 49.6ms | ActiveRecord: 15.8ms | Allocations: 40666)
Started GET “/products” for ::1 at 2022-02-05 18:15:08 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 45.1ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.1ms | Allocations: 40069)
Completed 200 OK in 64ms (Views: 46.9ms | ActiveRecord: 15.7ms | Allocations: 40669)
Started GET “/products?query=fats&commit=Search” for ::1 at 2022-02-05 18:15:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"fats", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'fats' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'fats' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:15
Rendered products/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 1031)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1828) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 22.4ms | Allocations: 15704)
Completed 200 OK in 25ms (Views: 19.8ms | ActiveRecord: 3.1ms | Allocations: 16716)
Started GET “/products?query=&commit=Search” for ::1 at 2022-02-05 18:15:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 52.0ms | Allocations: 25527)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.4ms | Allocations: 40075)
Completed 200 OK in 71ms (Views: 52.7ms | ActiveRecord: 16.2ms | Allocations: 40671)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 18:15:26 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms | Allocations: 2214)
Started GET “/” for ::1 at 2022-02-05 18:15:26 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 958) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 13904)
Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms | Allocations: 14944)
Started GET “/products” for ::1 at 2022-02-05 18:15:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.0ms | Allocations: 26412)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 79.1ms | Allocations: 40074)
Completed 200 OK in 82ms (Views: 64.3ms | ActiveRecord: 15.3ms | Allocations: 40672)
Started GET “/products/new” for ::1 at 2022-02-05 18:15:30 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-02-05 18:15:30 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.0ms | Allocations: 9496)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 30.4ms | Allocations: 23208)
Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.0ms | Allocations: 24839)
Started GET “/products” for ::1 at 2022-02-05 18:15:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 64.3ms | Allocations: 26416)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 80.0ms | Allocations: 40077)
Completed 200 OK in 83ms (Views: 61.5ms | ActiveRecord: 19.0ms | Allocations: 40676)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 18:15:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.0ms | Allocations: 8432)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.5ms | Allocations: 22196)
Completed 200 OK in 43ms (Views: 33.6ms | ActiveRecord: 7.0ms | Allocations: 23383)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 18:15:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.9ms | Allocations: 7022)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 20675)
Completed 200 OK in 39ms (Views: 29.2ms | ActiveRecord: 5.6ms | Allocations: 21862)
Started GET “/products” for ::1 at 2022-02-05 18:15:39 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (5.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (3.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 69.5ms | Allocations: 26405)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 84.7ms | Allocations: 40058)
Completed 200 OK in 87ms (Views: 60.2ms | ActiveRecord: 25.0ms | Allocations: 40657)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:15:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.1ms | Allocations: 7043)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 20699)
Completed 200 OK in 37ms (Views: 27.5ms | ActiveRecord: 6.2ms | Allocations: 21886)
Started GET “/tags/Soups” for ::1 at 2022-02-05 18:15:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 22.3ms | Allocations: 10048)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.3ms | Allocations: 23699)
Completed 200 OK in 42ms (Views: 32.2ms | ActiveRecord: 7.2ms | Allocations: 24885)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:15:48 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 24.7ms | Allocations: 7029)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.0ms | Allocations: 20680)
Completed 200 OK in 48ms (Views: 37.9ms | ActiveRecord: 6.8ms | Allocations: 21866)
Started GET “/tags/Fats” for ::1 at 2022-02-05 18:15:50 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.5ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.9ms | Allocations: 19164)
Completed 200 OK in 35ms (Views: 28.6ms | ActiveRecord: 3.5ms | Allocations: 20350)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:15:52 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 21.3ms | Allocations: 7020)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 20675)
Completed 200 OK in 49ms (Views: 37.1ms | ActiveRecord: 8.2ms | Allocations: 21862)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 18:15:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.3ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 19174)
Completed 200 OK in 34ms (Views: 27.8ms | ActiveRecord: 3.7ms | Allocations: 20361)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 18:15:55 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.9ms | Allocations: 5514)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.0ms | Allocations: 19165)
Completed 200 OK in 34ms (Views: 26.3ms | ActiveRecord: 4.1ms | Allocations: 20351)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 18:15:57 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.8ms | Allocations: 6140)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.7ms | Allocations: 20688)
Completed 200 OK in 53ms (Views: 43.0ms | ActiveRecord: 7.0ms | Allocations: 21875)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:16:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 24.9ms | Allocations: 10033)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.2ms | Allocations: 23686)
Completed 200 OK in 46ms (Views: 33.8ms | ActiveRecord: 9.1ms | Allocations: 24873)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:16:03 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.9ms | Allocations: 9156)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.6ms | Allocations: 22807)
Completed 200 OK in 36ms (Views: 27.7ms | ActiveRecord: 6.1ms | Allocations: 23993)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:17:09 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.7ms | Allocations: 9567)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:17:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 53.0ms | Allocations: 11092)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 9.1ms | Allocations: 1915) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 359) Rendered layout layouts/application.html.erb (Duration: 1615.9ms | Allocations: 133220)
Completed 200 OK in 1623ms (Views: 1612.4ms | ActiveRecord: 6.7ms | Allocations: 135256)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 93.6ms | Allocations: 29585)
Completed 200 OK in 132ms (Views: 84.2ms | ActiveRecord: 29.3ms | Allocations: 36390)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:18:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.6ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1761.4ms | Allocations: 112741)
Completed 200 OK in 1765ms (Views: 1755.9ms | ActiveRecord: 6.9ms | Allocations: 113926)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:18:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.3ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1222.7ms | Allocations: 112708)
Completed 200 OK in 1228ms (Views: 1217.5ms | ActiveRecord: 6.9ms | Allocations: 113892)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:18:50 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.0ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1214.0ms | Allocations: 113625)
Completed 200 OK in 1218ms (Views: 1208.9ms | ActiveRecord: 6.7ms | Allocations: 114808)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:19:00 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 20.2ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1206.0ms | Allocations: 113626)
Completed 200 OK in 1211ms (Views: 1201.0ms | ActiveRecord: 6.9ms | Allocations: 114810)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:19:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.3ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1283.4ms | Allocations: 113627)
Completed 200 OK in 1287ms (Views: 1278.0ms | ActiveRecord: 6.5ms | Allocations: 114810)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:19:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 23.0ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1249.8ms | Allocations: 126774)
Completed 200 OK in 1255ms (Views: 1244.6ms | ActiveRecord: 6.9ms | Allocations: 127957)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:19:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.4ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.8ms | Allocations: 22809)
Completed 200 OK in 37ms (Views: 28.0ms | ActiveRecord: 6.3ms | Allocations: 23993)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:19:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.3ms | Allocations: 9156)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1193.0ms | Allocations: 113148)
Completed 200 OK in 1197ms (Views: 1187.7ms | ActiveRecord: 6.6ms | Allocations: 114332)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:20:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.3ms | Allocations: 9159)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1240.8ms | Allocations: 112732)
Completed 200 OK in 1245ms (Views: 1235.2ms | ActiveRecord: 6.8ms | Allocations: 113915)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:20:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 22.7ms | Allocations: 9158)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.1ms | Allocations: 22812)
Completed 200 OK in 55ms (Views: 44.3ms | ActiveRecord: 7.2ms | Allocations: 23999)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 18:20:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.3ms | Allocations: 6902)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 20683)
Completed 200 OK in 43ms (Views: 35.2ms | ActiveRecord: 5.1ms | Allocations: 21869)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 18:20:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.3ms | Allocations: 5509)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 19160)
Completed 200 OK in 39ms (Views: 30.7ms | ActiveRecord: 4.6ms | Allocations: 20346)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 18:20:40 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.2ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1299.0ms | Allocations: 108655)
Completed 200 OK in 1305ms (Views: 1296.9ms | ActiveRecord: 3.7ms | Allocations: 109838)
Started GET “/tags/Beverages” for ::1 at 2022-02-05 18:20:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 8.9ms | Allocations: 4635)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 18288)
Completed 200 OK in 29ms (Views: 24.1ms | ActiveRecord: 3.0ms | Allocations: 19475)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 18:20:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.0ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 19178)
Completed 200 OK in 35ms (Views: 29.2ms | ActiveRecord: 3.9ms | Allocations: 20365)
Started GET “/tags/Snacks” for ::1 at 2022-02-05 18:20:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 11.3ms | Allocations: 4634)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.7ms | Allocations: 18285)
Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 3.8ms | Allocations: 19472)
Started GET “/tags/Nuts” for ::1 at 2022-02-05 18:20:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 15.1ms | Allocations: 5514)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.8ms | Allocations: 19165)
Completed 200 OK in 37ms (Views: 27.9ms | ActiveRecord: 5.6ms | Allocations: 20351)
Started GET “/products” for ::1 at 2022-02-05 18:20:48 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 57.1ms | Allocations: 26418)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.4ms | Allocations: 40069)
Completed 200 OK in 74ms (Views: 54.7ms | ActiveRecord: 17.3ms | Allocations: 40667)
Started GET “/tags/Fats” for ::1 at 2022-02-05 18:20:50 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.0ms | Allocations: 5511)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 19162)
Completed 200 OK in 41ms (Views: 32.1ms | ActiveRecord: 5.2ms | Allocations: 20348)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:20:51 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 16.1ms | Allocations: 6902)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 20684)
Completed 200 OK in 40ms (Views: 32.5ms | ActiveRecord: 4.9ms | Allocations: 21870)
Started GET “/tags/Soups” for ::1 at 2022-02-05 18:20:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.7ms | Allocations: 10042)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 23696)
Completed 200 OK in 51ms (Views: 39.1ms | ActiveRecord: 7.9ms | Allocations: 24883)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 18:20:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.8ms | Allocations: 4633)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.5ms | Allocations: 19175)
Completed 200 OK in 37ms (Views: 29.7ms | ActiveRecord: 4.2ms | Allocations: 20362)
Started GET “/products” for ::1 at 2022-02-05 18:20:55 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 68.2ms | Allocations: 26391)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 84.6ms | Allocations: 40044)
Completed 200 OK in 87ms (Views: 65.5ms | ActiveRecord: 19.6ms | Allocations: 40643)
Started GET “/products/18” for ::1 at 2022-02-05 18:21:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:33
Rendered products/show.html.erb within layouts/application (Duration: 23.7ms | Allocations: 11427)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 25830)
Completed 200 OK in 49ms (Views: 42.4ms | ActiveRecord: 2.5ms | Allocations: 27097)
Started GET “/products/18/edit” for ::1 at 2022-02-05 18:21:02 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"18"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 229)
Started GET “/users/sign_in” for ::1 at 2022-02-05 18:21:02 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 528) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.1ms | Allocations: 9471)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 27.8ms | Allocations: 23183)
Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.0ms | Allocations: 24803)
Started POST “/users/sign_in” for ::1 at 2022-02-05 18:21:07 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/18/edit Completed 302 Found in 222ms (ActiveRecord: 1.7ms | Allocations: 3496)
Started GET “/products/18/edit” for ::1 at 2022-02-05 18:21:07 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.1ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 21.9ms | Allocations: 16833)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 30497)
Completed 200 OK in 43ms (Views: 35.2ms | ActiveRecord: 3.5ms | Allocations: 33248)
Started GET “/products/18/edit” for ::1 at 2022-02-05 18:21:18 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"18"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.1ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 30.4ms | Allocations: 16527)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.4ms | Allocations: 30182)
Completed 200 OK in 55ms (Views: 43.9ms | ActiveRecord: 5.4ms | Allocations: 32805)
Started PATCH “/products/18” for ::1 at 2022-02-05 18:21:24 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"3107-ETR", "name"=>"Synergistic Wool Wallet", "description"=>"Outdoors & Music", "price"=>"10.0", "stock"=>"31", "tag_ids"=>["", "8", "4", "3"]}, "commit"=>"Update product", "id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2, $3)[0m [["id", 8], ["id", 4], ["id", 3]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Create (1.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 18], ["created_at", "2022-02-05 23:21:25.013589"], ["updated_at", "2022-02-05 23:21:25.013589"]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/18 Completed 302 Found in 21ms (ActiveRecord: 8.3ms | Allocations: 8370)
Started GET “/products/18” for ::1 at 2022-02-05 18:21:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 11504)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.0ms | Allocations: 25023)
Completed 200 OK in 32ms (Views: 27.4ms | ActiveRecord: 2.6ms | Allocations: 26162)
Started GET “/products” for ::1 at 2022-02-05 18:21:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (4.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 59.4ms | Allocations: 26437)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.9ms | Allocations: 40985)
Completed 200 OK in 78ms (Views: 55.3ms | ActiveRecord: 21.0ms | Allocations: 41586)
Started GET “/products/18” for ::1 at 2022-02-05 18:21:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (2.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:33
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:69
Rendered products/show.html.erb within layouts/application (Duration: 24.2ms | Allocations: 12379)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 25896)
Completed 200 OK in 45ms (Views: 37.9ms | ActiveRecord: 4.2ms | Allocations: 27036)
Started GET “/products/18” for ::1 at 2022-02-05 18:22:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 18.1ms | Allocations: 12391)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 37.0ms | Allocations: 26947)
Completed 200 OK in 44ms (Views: 37.5ms | ActiveRecord: 2.7ms | Allocations: 28884)
Started GET “/products/18” for ::1 at 2022-02-05 18:22:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 23.6ms | Allocations: 13339)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1306) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.9ms | Allocations: 27898)
Completed 200 OK in 53ms (Views: 45.1ms | ActiveRecord: 3.8ms | Allocations: 29830)
Started GET “/products/18/edit” for ::1 at 2022-02-05 18:22:36 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.2ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 31.0ms | Allocations: 17728)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 46.9ms | Allocations: 31395)
Completed 200 OK in 54ms (Views: 43.9ms | ActiveRecord: 5.2ms | Allocations: 34140)
Started PATCH “/products/18” for ::1 at 2022-02-05 18:22:39 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"3107-ETR", "name"=>"Synergistic Wool Wallet", "description"=>"Outdoors & Music", "price"=>"10.0", "stock"=>"31", "tag_ids"=>["", "4", "3"]}, "commit"=>"Update product", "id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 4], ["id", 3]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."product_id" = $1 AND "taggings"."tag_id" = $2[0m [["product_id", 18], ["tag_id", 8]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/18 Completed 302 Found in 22ms (ActiveRecord: 7.4ms | Allocations: 8044)
Started GET “/products/18” for ::1 at 2022-02-05 18:22:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 20.3ms | Allocations: 12513)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.6ms | Allocations: 26031)
Completed 200 OK in 39ms (Views: 32.8ms | ActiveRecord: 3.9ms | Allocations: 27169)
Started GET “/products” for ::1 at 2022-02-05 18:22:51 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.1ms | Allocations: 25926)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 67.8ms | Allocations: 40485)
Completed 200 OK in 70ms (Views: 51.6ms | ActiveRecord: 16.7ms | Allocations: 41301)
Started GET “/tags/Desserts” for ::1 at 2022-02-05 18:23:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 19.0ms | Allocations: 6927)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 21572)
Completed 200 OK in 50ms (Views: 39.5ms | ActiveRecord: 7.2ms | Allocations: 22761)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 18:23:55 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.1ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.7ms | Allocations: 20083)
Completed 200 OK in 35ms (Views: 28.4ms | ActiveRecord: 4.5ms | Allocations: 21271)
Started GET “/products” for ::1 at 2022-02-05 18:23:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 64.6ms | Allocations: 26418)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 81.4ms | Allocations: 40966)
Completed 200 OK in 84ms (Views: 63.3ms | ActiveRecord: 18.8ms | Allocations: 41567)
Started GET “/products?query=coca&commit=Search” for ::1 at 2022-02-05 18:23:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"coca", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'coca' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'coca' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:15
Rendered products/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1031)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1831) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 15708)
Completed 200 OK in 27ms (Views: 19.9ms | ActiveRecord: 3.6ms | Allocations: 16696)
Started GET “/products?query=co&commit=Search” for ::1 at 2022-02-05 18:24:01 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"co", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 27.3ms | Allocations: 13447)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 27993)
Completed 200 OK in 49ms (Views: 35.5ms | ActiveRecord: 10.2ms | Allocations: 28980)
Started GET “/products/14” for ::1 at 2022-02-05 18:24:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (2.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 31.0ms | Allocations: 13404)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.1ms | Allocations: 26922)
Completed 200 OK in 54ms (Views: 42.8ms | ActiveRecord: 5.8ms | Allocations: 28062)
Started GET “/products/14/edit” for ::1 at 2022-02-05 18:24:10 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.3ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 28.7ms | Allocations: 17340)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 31092)
Completed 200 OK in 54ms (Views: 42.7ms | ActiveRecord: 5.6ms | Allocations: 33711)
Started GET “/products” for ::1 at 2022-02-05 18:24:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 60.1ms | Allocations: 26398)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 87.9ms | Allocations: 40947)
Completed 200 OK in 90ms (Views: 68.9ms | ActiveRecord: 19.4ms | Allocations: 41548)
Started GET “/products/16” for ::1 at 2022-02-05 18:25:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 54.3ms | Allocations: 26246)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 69.6ms | Allocations: 39775)
Completed 200 OK in 116ms (Views: 53.4ms | ActiveRecord: 36.8ms | Allocations: 56117)
Started GET “/products/16” for ::1 at 2022-02-05 18:25:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 26.2ms | Allocations: 12497)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.5ms | Allocations: 26903)
Completed 200 OK in 56ms (Views: 48.7ms | ActiveRecord: 4.5ms | Allocations: 28043)
Started GET “/products/16/edit” for ::1 at 2022-02-05 18:25:26 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.5ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 49.7ms | Allocations: 17621)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 66.9ms | Allocations: 31378)
Completed 200 OK in 76ms (Views: 64.1ms | ActiveRecord: 5.6ms | Allocations: 33998)
Started PATCH “/products/16” for ::1 at 2022-02-05 18:25:29 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"4856-XVT", "name"=>"Heavy Duty Leather Shirt", "description"=>"Clothing, Industrial & Electronics", "price"=>"9.0", "stock"=>"43", "tag_ids"=>["", "10", "2"]}, "commit"=>"Update product", "id"=>"16"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:57:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.9ms | Allocations: 2864)
RuntimeError ():
app/controllers/products_controller.rb:40:in `update' Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:25:32 -0500 Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:25:34 -0500 Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:25:35 -0500
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1 /* loading for inspect */ LIMIT $2[0m [["product_id", 16], ["LIMIT", 11]]
Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:25:50 -0500
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/models/product.rb:18:in `map'
Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:26:01 -0500 Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:26:20 -0500 Started PUT “/__web_console/repl_sessions/a3f20b3ff6b54a5677b6f9216fd1cbbf” for ::1 at 2022-02-05 18:26:21 -0500 Started GET “/products/16/edit” for ::1 at 2022-02-05 18:31:24 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.6ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 33.2ms | Allocations: 22189)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 56.9ms | Allocations: 35856)
Completed 200 OK in 98ms (Views: 54.1ms | ActiveRecord: 15.3ms | Allocations: 53673)
Started PATCH “/products/16” for ::1 at 2022-02-05 18:31:29 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"4856-XVT", "name"=>"Heavy Duty Leather Shirt", "description"=>"Clothing, Industrial & Electronics", "price"=>"9.0", "stock"=>"43", "tag_ids"=>["", "8", "10", "2"]}, "commit"=>"Update product", "id"=>"16"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[31mUnpermitted parameter: :tag_ids[0m
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:40:in `update' [1m[36mProduct Exists? (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:40:in `update' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/models/product.rb:18:in `map' [1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m ↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/16 Completed 302 Found in 23ms (ActiveRecord: 7.6ms | Allocations: 6772)
Started GET “/products/16” for ::1 at 2022-02-05 18:31:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 13982)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 27500)
Completed 200 OK in 51ms (Views: 33.0ms | ActiveRecord: 4.5ms | Allocations: 34833)
Started GET “/products/16/edit” for ::1 at 2022-02-05 18:31:31 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.1ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 25.0ms | Allocations: 17332)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 31077)
Completed 200 OK in 48ms (Views: 38.3ms | ActiveRecord: 4.0ms | Allocations: 33696)
Started GET “/products” for ::1 at 2022-02-05 18:31:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 54.3ms | Allocations: 26421)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.3ms | Allocations: 40967)
Completed 200 OK in 74ms (Views: 52.6ms | ActiveRecord: 19.3ms | Allocations: 41567)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:31:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.3ms | Allocations: 7074)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 21522)
Completed 200 OK in 38ms (Views: 27.0ms | ActiveRecord: 6.6ms | Allocations: 24082)
Started GET “/tags/Seeds” for ::1 at 2022-02-05 18:31:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 13.2ms | Allocations: 6141)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 20690)
Completed 200 OK in 40ms (Views: 31.5ms | ActiveRecord: 6.4ms | Allocations: 21879)
Started GET “/tags/Fats” for ::1 at 2022-02-05 18:31:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.1ms | Allocations: 5517)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 20064)
Completed 200 OK in 37ms (Views: 27.2ms | ActiveRecord: 5.9ms | Allocations: 21253)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 18:31:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 18.7ms | Allocations: 8428)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 23087)
Completed 200 OK in 42ms (Views: 31.7ms | ActiveRecord: 7.5ms | Allocations: 24275)
Started GET “/products/new” for ::1 at 2022-02-05 18:31:47 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 30.1ms | Allocations: 16745)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 48.1ms | Allocations: 30544)
Completed 200 OK in 57ms (Views: 46.9ms | ActiveRecord: 2.8ms | Allocations: 32351)
Started POST “/products” for ::1 at 2022-02-05 18:32:05 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ZBC", "name"=>"COCA COLA", "description"=>"aosjdsajgydjagdakjg", "price"=>"12", "stock"=>"12", "tag_ids"=>["", "9"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_ids[0m
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ZBC"], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 22.1ms | Allocations: 15414)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.0ms | Allocations: 29051)
Completed 200 OK in 50ms (Views: 37.3ms | ActiveRecord: 4.6ms | Allocations: 33769)
Started POST “/products” for ::1 at 2022-02-05 18:32:09 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ZBC", "name"=>"COCA COLA", "description"=>"aosjdsajgydjagdakjg", "price"=>"12", "stock"=>"12", "tag_ids"=>["", "1"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_ids[0m
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ZBC"], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 20.9ms | Allocations: 15413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 29050)
Completed 200 OK in 49ms (Views: 36.2ms | ActiveRecord: 5.0ms | Allocations: 33744)
Started POST “/products” for ::1 at 2022-02-05 18:32:12 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ZBC", "name"=>"COCA COLA", "description"=>"aosjdsajgydjagdakjg", "price"=>"12", "stock"=>"12", "tag_ids"=>["", "1"]}, "commit"=>"Add product"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[31mUnpermitted parameter: :tag_ids[0m
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ZBC"], ["LIMIT", 1]] ↳ app/controllers/products_controller.rb:27:in `create' [1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m ↳ app/controllers/products_controller.rb:27:in `create' Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 22.3ms | Allocations: 15429)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 29069)
Completed 200 OK in 56ms (Views: 36.6ms | ActiveRecord: 5.2ms | Allocations: 33763)
Started POST “/products” for ::1 at 2022-02-05 18:32:27 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1234-ZBC", "name"=>"COCA COLA", "description"=>"aosjdsajgydjagdakjg", "price"=>"12", "stock"=>"12", "tag_ids"=>["", "6", "7"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 6], ["id", 7]]
↳ app/controllers/products_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-ZBC"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-ZBC"], ["name", "COCA COLA"], ["description", "aosjdsajgydjagdakjg"], ["price", 12.0], ["stock", 12], ["created_at", "2022-02-05 23:32:27.493189"], ["updated_at", "2022-02-05 23:32:27.493189"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 24], ["created_at", "2022-02-05 23:32:27.495541"], ["updated_at", "2022-02-05 23:32:27.495541"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 24], ["created_at", "2022-02-05 23:32:27.498043"], ["updated_at", "2022-02-05 23:32:27.498043"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 302 Found in 76ms (ActiveRecord: 33.8ms | Allocations: 30381)
Started GET “/products” for ::1 at 2022-02-05 18:32:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 45.5ms | Allocations: 27337)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 25.9ms | Allocations: 1815) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 84.5ms | Allocations: 41900)
Completed 200 OK in 87ms (Views: 69.7ms | ActiveRecord: 15.6ms | Allocations: 42617)
Started GET “/products/new” for ::1 at 2022-02-05 18:32:46 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 41.1ms | Allocations: 22355)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 56.7ms | Allocations: 36028)
Completed 200 OK in 110ms (Views: 48.5ms | ActiveRecord: 26.7ms | Allocations: 51010)
Started POST “/products” for ::1 at 2022-02-05 18:32:59 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1544-ABC", "name"=>"wqweqwe", "description"=>"qweqweqweqwew", "price"=>"3", "stock"=>"32", "tag_ids"=>["", "6", "1"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 6], ["id", 1]]
↳ app/controllers/products_controller.rb:26:in `create'
Completed 500 Internal Server Error in 15ms (ActiveRecord: 5.1ms | Allocations: 5919)
RuntimeError ():
app/controllers/products_controller.rb:27:in `create' Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:02 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:04 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:10 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:13 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:13 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:17 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:22 -0500 Started PUT “/__web_console/repl_sessions/369b41c36421002debb225d917c05a1e” for ::1 at 2022-02-05 18:33:36 -0500 Started GET “/products/new” for ::1 at 2022-02-05 18:33:56 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 48.3ms | Allocations: 22358)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 68.6ms | Allocations: 36031)
Completed 200 OK in 112ms (Views: 58.8ms | ActiveRecord: 25.2ms | Allocations: 50896)
Started POST “/products” for ::1 at 2022-02-05 18:33:59 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1544-ABC", "name"=>"wqweqwe", "description"=>"qweqweqweqwew", "price"=>"3", "stock"=>"32", "tag_ids"=>["", "6", "1"]}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2)[0m [["id", 6], ["id", 1]]
↳ app/controllers/products_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1544-ABC"], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mProduct Create (0.9ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1544-ABC"], ["name", "wqweqwe"], ["description", "qweqweqweqwew"], ["price", 3.0], ["stock", 32], ["created_at", "2022-02-05 23:33:59.039465"], ["updated_at", "2022-02-05 23:33:59.039465"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.2ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 25], ["created_at", "2022-02-05 23:33:59.042335"], ["updated_at", "2022-02-05 23:33:59.042335"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTagging Create (1.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 25], ["created_at", "2022-02-05 23:33:59.044969"], ["updated_at", "2022-02-05 23:33:59.044969"]]
↳ app/controllers/products_controller.rb:27:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:27:in `create'
Redirected to localhost:3000/products Completed 302 Found in 32ms (ActiveRecord: 12.4ms | Allocations: 11586)
Started GET “/products” for ::1 at 2022-02-05 18:33:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.4ms | Allocations: 28839)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.5ms | Allocations: 43385)
Completed 200 OK in 70ms (Views: 52.5ms | ActiveRecord: 16.4ms | Allocations: 43989)
Started GET “/products/25” for ::1 at 2022-02-05 18:34:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 33.2ms | Allocations: 13971)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.4ms | Allocations: 27490)
Completed 200 OK in 82ms (Views: 48.9ms | ActiveRecord: 16.7ms | Allocations: 36894)
Started GET “/products/25/edit” for ::1 at 2022-02-05 18:34:03 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"25"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.7ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 29.5ms | Allocations: 17340)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.5ms | Allocations: 31094)
Completed 200 OK in 55ms (Views: 44.4ms | ActiveRecord: 5.6ms | Allocations: 33713)
Started PATCH “/products/25” for ::1 at 2022-02-05 18:34:08 -0500 Processing by ProductsController#update as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"1544-ABC", "name"=>"wqweqwe", "description"=>"qweqweqweqwew", "price"=>"3.0", "stock"=>"32", "tag_ids"=>["", "6", "1", "7", "10"]}, "commit"=>"Update product", "id"=>"25"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:39:in `update'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."id" IN ($1, $2, $3, $4)[0m [["id", 6], ["id", 1], ["id", 7], ["id", 10]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Create (1.7ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 25], ["created_at", "2022-02-05 23:34:08.697463"], ["updated_at", "2022-02-05 23:34:08.697463"]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTagging Create (1.2ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 25], ["created_at", "2022-02-05 23:34:08.702015"], ["updated_at", "2022-02-05 23:34:08.702015"]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1544-ABC"], ["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:40:in `update'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:40:in `update'
Redirected to localhost:3000/products/25 Completed 302 Found in 28ms (ActiveRecord: 9.7ms | Allocations: 9770)
Started GET “/products/25” for ::1 at 2022-02-05 18:34:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 27.2ms | Allocations: 12520)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.5ms | Allocations: 26036)
Completed 200 OK in 51ms (Views: 44.5ms | ActiveRecord: 4.1ms | Allocations: 27173)
Started GET “/products/25/edit” for ::1 at 2022-02-05 18:34:10 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"25"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.2ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 30.3ms | Allocations: 17431)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.3ms | Allocations: 31085)
Completed 200 OK in 65ms (Views: 55.9ms | ActiveRecord: 4.6ms | Allocations: 33703)
Started GET “/products” for ::1 at 2022-02-05 18:34:11 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 96.7ms | Allocations: 29492)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 114.0ms | Allocations: 44041)
Completed 200 OK in 118ms (Views: 93.1ms | ActiveRecord: 21.5ms | Allocations: 44642)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 18:34:12 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 27.7ms | Allocations: 8793)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 54.1ms | Allocations: 23381)
Completed 200 OK in 59ms (Views: 44.9ms | ActiveRecord: 10.5ms | Allocations: 25125)
Started GET “/tags/Cereals” for ::1 at 2022-02-05 18:34:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.7ms | Allocations: 7719)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.3ms | Allocations: 22265)
Completed 200 OK in 39ms (Views: 29.3ms | ActiveRecord: 6.6ms | Allocations: 23453)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:34:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.0ms | Allocations: 11627)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.1ms | Allocations: 26173)
Completed 200 OK in 47ms (Views: 33.9ms | ActiveRecord: 9.6ms | Allocations: 27361)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-05 18:34:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 10.0ms | Allocations: 4632)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.6ms | Allocations: 20077)
Completed 200 OK in 36ms (Views: 29.3ms | ActiveRecord: 4.4ms | Allocations: 21266)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 18:34:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 34.1ms | Allocations: 11618)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.5ms | Allocations: 26164)
Completed 200 OK in 58ms (Views: 43.4ms | ActiveRecord: 11.5ms | Allocations: 27353)
Started GET “/products” for ::1 at 2022-02-05 18:35:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 89.6ms | Allocations: 29498)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 109.4ms | Allocations: 44047)
Completed 200 OK in 113ms (Views: 84.6ms | ActiveRecord: 25.5ms | Allocations: 44648)
Started GET “/products/25” for ::1 at 2022-02-05 18:35:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (2.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 30.7ms | Allocations: 13331)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.3ms | Allocations: 26948)
Completed 200 OK in 54ms (Views: 43.1ms | ActiveRecord: 7.9ms | Allocations: 28089)
Started DELETE “/products/25” for ::1 at 2022-02-05 18:35:56 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"25"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 25]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 25]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (1.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 47]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.0ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 48]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.4ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 49]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 50]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (1.9ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 25]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 35ms (ActiveRecord: 14.0ms | Allocations: 11158)
Started GET “/products” for ::1 at 2022-02-05 18:35:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 50.6ms | Allocations: 27032)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.0ms | Allocations: 41578)
Completed 200 OK in 70ms (Views: 51.0ms | ActiveRecord: 17.4ms | Allocations: 42175)
Started GET “/products/24” for ::1 at 2022-02-05 18:35:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (2.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 28.8ms | Allocations: 13263)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.8ms | Allocations: 26886)
Completed 200 OK in 52ms (Views: 42.5ms | ActiveRecord: 6.1ms | Allocations: 28027)
Started DELETE “/products/24” for ::1 at 2022-02-05 18:36:00 -0500 Processing by ProductsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "id"=>"24"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:48:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 24]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 24]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Load (0.9ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (0.9ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 45]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTagging Destroy (1.1ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 46]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mProduct Destroy (1.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 24]]
↳ app/controllers/products_controller.rb:49:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/products_controller.rb:49:in `destroy'
Redirected to localhost:3000/products Completed 302 Found in 23ms (ActiveRecord: 9.9ms | Allocations: 8570)
Started GET “/products” for ::1 at 2022-02-05 18:36:00 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.4ms | Allocations: 25524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.4ms | Allocations: 40073)
Completed 200 OK in 71ms (Views: 54.3ms | ActiveRecord: 15.7ms | Allocations: 40671)
Started GET “/tags/Soups” for ::1 at 2022-02-05 18:36:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:15
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:18:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:18:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 29.2ms | Allocations: 10057)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.1ms | Allocations: 24605)
Completed 200 OK in 53ms (Views: 38.8ms | ActiveRecord: 10.8ms | Allocations: 25794)
Started GET “/” for ::1 at 2022-02-05 18:36:46 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.1ms | Allocations: 121)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 24.8ms | Allocations: 15866)
Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.9ms | Allocations: 16907)
Started GET “/products” for ::1 at 2022-02-05 18:36:47 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 62.8ms | Allocations: 26429)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 80.7ms | Allocations: 40985)
Completed 200 OK in 83ms (Views: 62.7ms | ActiveRecord: 18.6ms | Allocations: 41586)
Started GET “/orders” for ::1 at 2022-02-05 18:36:47 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 1224)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1847) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 27.5ms | Allocations: 16784)
Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 1.7ms | Allocations: 17850)
Started GET “/products” for ::1 at 2022-02-05 18:36:48 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 70.1ms | Allocations: 26424)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 88.5ms | Allocations: 40982)
Completed 200 OK in 91ms (Views: 66.6ms | ActiveRecord: 22.5ms | Allocations: 41584)
Started GET “/products/16” for ::1 at 2022-02-05 18:36:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 30.1ms | Allocations: 13302)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.5ms | Allocations: 26937)
Completed 200 OK in 55ms (Views: 47.3ms | ActiveRecord: 4.6ms | Allocations: 28078)
Started POST “/products/16/orders” for ::1 at 2022-02-05 18:36:50 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 42], ["updated_at", "2022-02-05 23:36:50.992217"], ["id", 16]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (1.6ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 16], ["created_at", "2022-02-05 23:36:50.996340"], ["updated_at", "2022-02-05 23:36:50.996340"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 26ms (ActiveRecord: 10.4ms | Allocations: 9056)
Started GET “/orders” for ::1 at 2022-02-05 18:36:51 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 1967)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1830) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.9ms | Allocations: 16649)
Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 2.7ms | Allocations: 17059)
Started DELETE “/orders/1?order_id=1” for ::1 at 2022-02-05 18:36:55 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"1", "id"=>"1"}
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 1]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 10ms (ActiveRecord: 3.8ms | Allocations: 3206)
Started GET “/orders” for ::1 at 2022-02-05 18:36:55 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1839) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 15565)
Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 1.8ms | Allocations: 15973)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 18:36:56 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms | Allocations: 2214)
Started GET “/” for ::1 at 2022-02-05 18:36:56 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 956) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 14.7ms | Allocations: 13864)
Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.0ms | Allocations: 14256)
Started GET “/products” for ::1 at 2022-02-05 18:36:57 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 53.8ms | Allocations: 26404)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.0ms | Allocations: 40056)
Completed 200 OK in 70ms (Views: 51.4ms | ActiveRecord: 17.0ms | Allocations: 40652)
Started GET “/products/16” for ::1 at 2022-02-05 18:36:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 22.1ms | Allocations: 12349)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 25964)
Completed 200 OK in 47ms (Views: 39.8ms | ActiveRecord: 3.8ms | Allocations: 27101)
Started POST “/products/16/orders” for ::1 at 2022-02-05 18:36:59 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 41], ["updated_at", "2022-02-05 23:36:59.994289"], ["id", 16]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 9.0ms | Allocations: 6110)
Rendered layout layouts/application.html.erb (Duration: 9.1ms | Allocations: 6174)
Completed 500 Internal Server Error in 24ms (ActiveRecord: 6.6ms | Allocations: 12151)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
63: <hr> 64: <div class='review-form'> 65: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 66: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 67: <%= f.input :title %> 68: <%= f.input :content, as: :text %> 69: <div class='text-right mt-5'>
app/views/products/show.html.erb:66 app/controllers/orders_controller.rb:20:in `create' Started GET “/products/16” for ::1 at 2022-02-05 18:46:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 11600)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 25111)
Completed 200 OK in 63ms (Views: 39.1ms | ActiveRecord: 15.8ms | Allocations: 29491)
Started GET “/products” for ::1 at 2022-02-05 18:46:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 57.2ms | Allocations: 26411)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 72.7ms | Allocations: 40062)
Completed 200 OK in 75ms (Views: 55.2ms | ActiveRecord: 18.2ms | Allocations: 40658)
Started GET “/products/new” for ::1 at 2022-02-05 19:07:11 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 6ms (Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-02-05 19:07:11 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 3.3ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 31.9ms | Allocations: 9489)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.4ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 167.1ms | Allocations: 23201)
Completed 200 OK in 184ms (Views: 178.0ms | Allocations: 24732)
Started POST “/users/sign_in” for ::1 at 2022-02-05 19:07:18 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 266ms (ActiveRecord: 15.7ms | Allocations: 6728)
Started GET “/products/new” for ::1 at 2022-02-05 19:07:18 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 29.0ms | Allocations: 15730)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 48.9ms | Allocations: 29400)
Completed 200 OK in 55ms (Views: 47.9ms | ActiveRecord: 2.4ms | Allocations: 31089)
Started GET “/products” for ::1 at 2022-02-05 19:07:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 88.4ms | Allocations: 26488)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 106.9ms | Allocations: 41037)
Completed 200 OK in 110ms (Views: 86.0ms | ActiveRecord: 21.7ms | Allocations: 41638)
Started GET “/products/16” for ::1 at 2022-02-05 19:07:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 37.6ms | Allocations: 13412)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.3ms | Allocations: 26930)
Completed 200 OK in 65ms (Views: 53.7ms | ActiveRecord: 6.9ms | Allocations: 28075)
Started GET “/products/16/edit” for ::1 at 2022-02-05 19:07:29 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:35:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.1ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 27.1ms | Allocations: 16669)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 30330)
Completed 200 OK in 57ms (Views: 45.1ms | ActiveRecord: 4.7ms | Allocations: 33708)
Started GET “/products/16” for ::1 at 2022-02-05 19:07:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 12492)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.8ms | Allocations: 26902)
Completed 200 OK in 53ms (Views: 45.0ms | ActiveRecord: 4.6ms | Allocations: 28042)
Started GET “/products” for ::1 at 2022-02-05 19:07:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 66.6ms | Allocations: 26420)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 91.7ms | Allocations: 40966)
Completed 200 OK in 94ms (Views: 70.6ms | ActiveRecord: 21.6ms | Allocations: 41566)
[1m[35m (4.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to AddRatingToReviews (20220206002918)
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.7ms)[0m [1m[35mALTER TABLE "reviews" ADD "rating" integer[0m
[1m[36mActiveRecord::SchemaMigration Create (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220206002918"]]
[1m[36mTRANSACTION (2.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/products/14” for ::1 at 2022-02-05 19:32:05 -0500
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Completed 500 Internal Server Error in 40ms (ActiveRecord: 2.4ms | Allocations: 9083)
ArgumentError (Unknown validator: 'InValidator'):
app/models/review.rb:6:in `<class:Review>' app/models/review.rb:1:in `<main>' app/controllers/products_controller.rb:17:in `show' Started GET “/products/14” for ::1 at 2022-02-05 19:33:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:70
Rendered products/show.html.erb within layouts/application (Duration: 53.3ms | Allocations: 26307)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 882) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 82.2ms | Allocations: 39836)
Completed 200 OK in 131ms (Views: 65.8ms | ActiveRecord: 38.0ms | Allocations: 56624)
Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:35:52 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Title", "content"=>"Content"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 8.5ms | Allocations: 3413)
Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3477)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.1ms | Allocations: 8161)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:35:54 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Title", "content"=>"Content"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 6.1ms | Allocations: 3403)
Rendered layout layouts/application.html.erb (Duration: 6.3ms | Allocations: 3467)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.0ms | Allocations: 6744)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started GET “/products/14” for ::1 at 2022-02-05 19:36:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 14043)
Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 14108)
Completed 500 Internal Server Error in 30ms (ActiveRecord: 3.2ms | Allocations: 16017)
ActionView::Template::Error (undefined method `imput' for #<SimpleForm::FormBuilder:0x00007fee7b76a680> Did you mean? input):
66: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 67: <%= f.input :title %> 68: <%= f.input :content, as: :text %> 69: <%= f.imput :rating %> 70: <div class='text-right mt-5'> 71: <% if user_signed_in? %> 72: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:69 app/views/products/show.html.erb:66 Started GET “/products/14” for ::1 at 2022-02-05 19:37:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 34.9ms | Allocations: 21046)
Rendered layout layouts/application.html.erb (Duration: 35.2ms | Allocations: 21110)
Completed 500 Internal Server Error in 79ms (ActiveRecord: 25.5ms | Allocations: 37638)
ActionView::Template::Error (undefined method `imput' for #<SimpleForm::FormBuilder:0x00007fee82c9e500> Did you mean? input):
66: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 67: <%= f.input :title %> 68: <%= f.input :content, as: :text %> 69: <%= f.imput :rating %> 70: <div class='text-right mt-5'> 71: <% if user_signed_in? %> 72: <%= f.button :submit, class: 'btn btn-outline-primary' %>
app/views/products/show.html.erb:69 app/views/products/show.html.erb:66
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" ORDER BY "reviews"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Started GET “/products/14” for ::1 at 2022-02-05 19:38:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:71
Rendered products/show.html.erb within layouts/application (Duration: 39.5ms | Allocations: 22021)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1304) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 69.6ms | Allocations: 36578)
Completed 200 OK in 78ms (Views: 64.7ms | ActiveRecord: 8.9ms | Allocations: 38515)
Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:38:09 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sdfsdfdf", "content"=>"sdfsdfsdf", "rating"=>"0"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 5.7ms | Allocations: 3414)
Rendered layout layouts/application.html.erb (Duration: 5.9ms | Allocations: 3478)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.5ms | Allocations: 7775)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:38:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sdfsdfdf", "content"=>"sdfsdfsdf", "rating"=>"0"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 6.6ms | Allocations: 3403)
Rendered layout layouts/application.html.erb (Duration: 6.7ms | Allocations: 3467)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 2.6ms | Allocations: 6357)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:38:12 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sdfsdfdf", "content"=>"sdfsdfsdf", "rating"=>"0"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 5.4ms | Allocations: 3403)
Rendered layout layouts/application.html.erb (Duration: 5.6ms | Allocations: 3467)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.4ms | Allocations: 6357)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/14/reviews” for ::1 at 2022-02-05 19:38:16 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"sdfsdfdf", "content"=>"sdfsdfsdf", "rating"=>"2"}, "commit"=>"Create Review", "product_id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (5.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "sdfsdfdf"], ["content", "sdfsdfsdf"], ["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 00:38:16.071666"], ["updated_at", "2022-02-06 00:38:16.071666"], ["rating", 2]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/14 Completed 200 OK in 16ms (ActiveRecord: 8.7ms | Allocations: 4437)
Started GET “/products/14” for ::1 at 2022-02-05 19:38:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (4.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
Rendered products/show.html.erb within layouts/application (Duration: 38.6ms | Allocations: 14393)
Rendered layout layouts/application.html.erb (Duration: 39.8ms | Allocations: 14660)
Completed 500 Internal Server Error in 44ms (ActiveRecord: 7.7ms | Allocations: 15791)
ActionView::Template::Error (undefined local variable or method `article' for #<ActionView::Base:0x00000000056e00>):
37: <h2>Reviews</h2>
38: <% @product.reviews.order('created_at DESC').each do |review| %>
39: <div class="card">
40: <%= article.tags.map(&:name).map { |t| link_to t, tag_path(t) }.join(', ') %>
41: <h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
42: <p><%= "#{review.user.first_name} #{review.user.last_name}" %></p>
43: <span class='text-muted', style='font-size: 15px'>
app/views/products/show.html.erb:40 app/views/products/show.html.erb:38 Started GET “/products/14” for ::1 at 2022-02-05 19:38:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 33.6ms | Allocations: 17897)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 55.9ms | Allocations: 32451)
Completed 200 OK in 63ms (Views: 53.2ms | ActiveRecord: 6.1ms | Allocations: 34388)
Started GET “/products/14” for ::1 at 2022-02-05 19:40:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:55
Rendered products/show.html.erb within layouts/application (Duration: 39.2ms | Allocations: 17699)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 70.8ms | Allocations: 32249)
Completed 200 OK in 77ms (Views: 68.2ms | ActiveRecord: 5.8ms | Allocations: 34181)
Started GET “/products/14” for ::1 at 2022-02-05 19:40:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:55
Rendered products/show.html.erb within layouts/application (Duration: 33.7ms | Allocations: 17699)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 65.6ms | Allocations: 32249)
Completed 200 OK in 72ms (Views: 62.7ms | ActiveRecord: 5.8ms | Allocations: 34181)
Started GET “/products/14” for ::1 at 2022-02-05 19:41:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 70.2ms | Allocations: 17721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1303) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 93.5ms | Allocations: 32281)
Completed 200 OK in 102ms (Views: 88.9ms | ActiveRecord: 8.1ms | Allocations: 34214)
Started GET “/products/14” for ::1 at 2022-02-05 19:41:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 30.0ms | Allocations: 17723)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 47.2ms | Allocations: 32273)
Completed 200 OK in 53ms (Views: 44.5ms | ActiveRecord: 5.5ms | Allocations: 34212)
Started GET “/products/14” for ::1 at 2022-02-05 19:41:35 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 16889)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.8ms | Allocations: 30411)
Completed 200 OK in 51ms (Views: 41.6ms | ActiveRecord: 6.4ms | Allocations: 31550)
Started GET “/products/14” for ::1 at 2022-02-05 19:43:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 30.9ms | Allocations: 17721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 58.6ms | Allocations: 32275)
Completed 200 OK in 67ms (Views: 58.2ms | ActiveRecord: 5.9ms | Allocations: 34213)
Started GET “/products/14” for ::1 at 2022-02-05 19:43:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 28.5ms | Allocations: 16886)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1618.6ms | Allocations: 120339)
Completed 200 OK in 1622ms (Views: 1613.9ms | ActiveRecord: 5.8ms | Allocations: 121478)
Started GET “/products/14” for ::1 at 2022-02-05 19:44:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 29.0ms | Allocations: 16903)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1321.6ms | Allocations: 120769)
Completed 200 OK in 1326ms (Views: 1317.4ms | ActiveRecord: 5.7ms | Allocations: 121908)
Started GET “/products/14” for ::1 at 2022-02-05 19:44:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 31.4ms | Allocations: 16886)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.6ms | Allocations: 30405)
Completed 200 OK in 53ms (Views: 43.4ms | ActiveRecord: 6.4ms | Allocations: 31543)
Started GET “/products/14” for ::1 at 2022-02-05 19:44:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 28.1ms | Allocations: 16870)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1244.7ms | Allocations: 120762)
Completed 200 OK in 1250ms (Views: 1240.9ms | ActiveRecord: 5.3ms | Allocations: 121901)
Started GET “/products/14” for ::1 at 2022-02-05 19:44:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 29.3ms | Allocations: 16896)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1243.8ms | Allocations: 121714)
Completed 200 OK in 1249ms (Views: 1239.5ms | ActiveRecord: 5.7ms | Allocations: 122853)
Started GET “/products/14” for ::1 at 2022-02-05 19:44:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:56
Rendered products/show.html.erb within layouts/application (Duration: 36.2ms | Allocations: 16888)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.5ms | Allocations: 30406)
Completed 200 OK in 58ms (Views: 47.5ms | ActiveRecord: 6.8ms | Allocations: 31545)
Started GET “/products/14” for ::1 at 2022-02-05 19:47:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 30.6ms | Allocations: 17756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 53.7ms | Allocations: 32849)
Completed 200 OK in 63ms (Views: 53.4ms | ActiveRecord: 5.7ms | Allocations: 34790)
Started GET “/products/14” for ::1 at 2022-02-05 19:50:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 32.8ms | Allocations: 17744)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 65.3ms | Allocations: 32294)
Completed 200 OK in 73ms (Views: 64.4ms | ActiveRecord: 5.3ms | Allocations: 34226)
Started GET “/products/14” for ::1 at 2022-02-05 19:50:59 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 42.1ms | Allocations: 16890)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 59.3ms | Allocations: 30416)
Completed 200 OK in 63ms (Views: 54.2ms | ActiveRecord: 6.4ms | Allocations: 31556)
Started GET “/products/14” for ::1 at 2022-02-05 19:51:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 29.9ms | Allocations: 17764)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 48.0ms | Allocations: 32320)
Completed 200 OK in 56ms (Views: 45.9ms | ActiveRecord: 5.9ms | Allocations: 34259)
Started GET “/products/14” for ::1 at 2022-02-05 19:55:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 41.7ms | Allocations: 17744)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 78.0ms | Allocations: 32294)
Completed 200 OK in 86ms (Views: 77.0ms | ActiveRecord: 5.9ms | Allocations: 34232)
Started GET “/products/14” for ::1 at 2022-02-05 19:55:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 35.6ms | Allocations: 16884)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 72.4ms | Allocations: 30406)
Completed 200 OK in 76ms (Views: 67.9ms | ActiveRecord: 5.5ms | Allocations: 31545)
Started GET “/products/14” for ::1 at 2022-02-05 19:55:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 65.9ms | Allocations: 16871)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 83.5ms | Allocations: 30391)
Completed 200 OK in 89ms (Views: 78.2ms | ActiveRecord: 7.3ms | Allocations: 31530)
Started GET “/products/14” for ::1 at 2022-02-05 19:55:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 16875)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 30395)
Completed 200 OK in 44ms (Views: 36.2ms | ActiveRecord: 5.3ms | Allocations: 31534)
Started GET “/products/14” for ::1 at 2022-02-05 19:55:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 25.8ms | Allocations: 16869)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 30385)
Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 5.2ms | Allocations: 31523)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 32.7ms | Allocations: 17756)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 57.4ms | Allocations: 32310)
Completed 200 OK in 65ms (Views: 55.2ms | ActiveRecord: 5.7ms | Allocations: 34248)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 32.4ms | Allocations: 16884)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.6ms | Allocations: 30406)
Completed 200 OK in 54ms (Views: 46.6ms | ActiveRecord: 5.3ms | Allocations: 31546)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 34.3ms | Allocations: 16888)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.7ms | Allocations: 30407)
Completed 200 OK in 52ms (Views: 43.7ms | ActiveRecord: 6.3ms | Allocations: 31546)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 30.7ms | Allocations: 16870)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 30389)
Completed 200 OK in 49ms (Views: 41.1ms | ActiveRecord: 5.3ms | Allocations: 31528)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 28.1ms | Allocations: 16869)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.7ms | Allocations: 30385)
Completed 200 OK in 49ms (Views: 41.6ms | ActiveRecord: 5.2ms | Allocations: 31523)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 17755)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 47.8ms | Allocations: 32312)
Completed 200 OK in 53ms (Views: 44.6ms | ActiveRecord: 5.7ms | Allocations: 34250)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 33.2ms | Allocations: 16884)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.3ms | Allocations: 30412)
Completed 200 OK in 57ms (Views: 47.4ms | ActiveRecord: 6.9ms | Allocations: 31552)
Started GET “/products/14” for ::1 at 2022-02-05 19:56:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 29.4ms | Allocations: 16897)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.5ms | Allocations: 30416)
Completed 200 OK in 50ms (Views: 42.4ms | ActiveRecord: 5.5ms | Allocations: 31555)
Started GET “/products/14” for ::1 at 2022-02-05 19:59:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (4.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 32.8ms | Allocations: 17753)
- Webpacker
-
Compiling…
Started GET “/products/14” for ::1 at 2022-02-05 19:59:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 35.8ms | Allocations: 16957)
- Webpacker
-
Compiling…
Started GET “/products/14” for ::1 at 2022-02-05 19:59:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 42.6ms | Allocations: 16927)
- Webpacker
-
Compiling…
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/week4 - heroku/rails-store-app/public/packs
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/week4 - heroku/rails-store-app/public/packs
- Webpacker
-
Hash: d87a9d955c09caba7404
Version: webpack 4.46.0 Time: 1475ms Built at: 02/05/2022 7:59:49 PM
Asset Size Chunks Chunk Names js/application-ec0c530be506b36f10f7.js 612 KiB application [emitted] [immutable] application
js/application-ec0c530be506b36f10f7.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-ec0c530be506b36f10f7.js js/application-ec0c530be506b36f10f7.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.4 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules
- Webpacker
-
Hash: d87a9d955c09caba7404
Version: webpack 4.46.0 Time: 1473ms Built at: 02/05/2022 7:59:49 PM
Asset Size Chunks Chunk Names js/application-ec0c530be506b36f10f7.js 612 KiB application [emitted] [immutable] application
js/application-ec0c530be506b36f10f7.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-ec0c530be506b36f10f7.js js/application-ec0c530be506b36f10f7.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.4 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules
- Webpacker
-
Compiled all packs in /Users/gabriel/Desktop/Gabriel/Applaudo Studios/week4 - heroku/rails-store-app/public/packs
- Webpacker
-
Hash: d87a9d955c09caba7404
Version: webpack 4.46.0 Time: 1205ms Built at: 02/05/2022 7:59:49 PM
Asset Size Chunks Chunk Names js/application-ec0c530be506b36f10f7.js 612 KiB application [emitted] [immutable] application
js/application-ec0c530be506b36f10f7.js.map 750 KiB application [emitted] [dev] application
manifest.json 364 bytes [emitted]
Entrypoint application = js/application-ec0c530be506b36f10f7.js js/application-ec0c530be506b36f10f7.js.map
- ./app/javascript/channels sync recursive _channel.js$
-
./app/javascript/channels sync _channel.js$ 160 bytes {application} [built]
- ./app/javascript/channels/index.js
-
211 bytes {application} [built]
- ./app/javascript/packs/application.js
-
1.4 KiB {application} [built]
- ./node_modules/webpack/buildin/global.js
-
(webpack)/buildin/global.js 472 bytes {application} [built]
+ 6 hidden modules Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 1837) Rendered shared/_navbar.html.erb (Duration: 7.6ms | Allocations: 2468) Rendered shared/_flashes.html.erb (Duration: 1.6ms | Allocations: 290) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 282) Rendered layout layouts/application.html.erb (Duration: 3450.9ms | Allocations: 35987)
Completed 200 OK in 3482ms (Views: 3444.1ms | ActiveRecord: 25.2ms | Allocations: 40567)
Rendered layout layouts/application.html.erb (Duration: 4051.1ms | Allocations: 71894)
Completed 200 OK in 4094ms (Views: 4046.6ms | ActiveRecord: 26.0ms | Allocations: 76929)
Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1544) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 6112.6ms | Allocations: 203505)
Completed 200 OK in 6129ms (Views: 6111.1ms | ActiveRecord: 9.4ms | Allocations: 205456)
Started GET “/products/14” for ::1 at 2022-02-05 20:00:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 50.4ms | Allocations: 17751)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 1301) Rendered shared/_flashes.html.erb (Duration: 1.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 87.6ms | Allocations: 32320)
Completed 200 OK in 96ms (Views: 83.2ms | ActiveRecord: 8.1ms | Allocations: 34258)
Started GET “/products/14” for ::1 at 2022-02-05 20:01:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 34.3ms | Allocations: 17748)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 2.0ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 92.8ms | Allocations: 32316)
Completed 200 OK in 102ms (Views: 91.1ms | ActiveRecord: 6.6ms | Allocations: 34249)
Started GET “/products/14” for ::1 at 2022-02-05 20:01:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 59.5ms | Allocations: 17781)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1303) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 84.0ms | Allocations: 32355)
Completed 200 OK in 93ms (Views: 81.4ms | ActiveRecord: 7.0ms | Allocations: 34294)
Started GET “/products/14” for ::1 at 2022-02-05 20:01:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 41.8ms | Allocations: 16890)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.1ms | Allocations: 30431)
Completed 200 OK in 67ms (Views: 56.4ms | ActiveRecord: 7.5ms | Allocations: 31570)
Started GET “/products/14” for ::1 at 2022-02-05 20:02:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:58
Rendered products/show.html.erb within layouts/application (Duration: 56.7ms | Allocations: 16866)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1840.1ms | Allocations: 121503)
Completed 200 OK in 1844ms (Views: 1833.0ms | ActiveRecord: 8.2ms | Allocations: 122641)
Started GET “/products/14” for ::1 at 2022-02-05 20:03:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 45.4ms | Allocations: 17798)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 66.6ms | Allocations: 32373)
Completed 200 OK in 73ms (Views: 63.5ms | ActiveRecord: 6.5ms | Allocations: 34312)
Started GET “/products/14” for ::1 at 2022-02-05 20:03:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 46.3ms | Allocations: 17752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 63.7ms | Allocations: 32320)
Completed 200 OK in 69ms (Views: 59.1ms | ActiveRecord: 6.8ms | Allocations: 34252)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 20:03:18 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 2211)
Started GET “/” for ::1 at 2022-02-05 20:03:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.8ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 956) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 16.7ms | Allocations: 13916)
Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms | Allocations: 14956)
Started GET “/products” for ::1 at 2022-02-05 20:03:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 140.5ms | Allocations: 26818)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 160.3ms | Allocations: 40498)
Completed 200 OK in 163ms (Views: 141.0ms | ActiveRecord: 19.9ms | Allocations: 41221)
Started GET “/products/16” for ::1 at 2022-02-05 20:03:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:34
Rendered products/show.html.erb within layouts/application (Duration: 24.2ms | Allocations: 15051)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.7ms | Allocations: 28714)
Completed 200 OK in 53ms (Views: 45.7ms | ActiveRecord: 3.8ms | Allocations: 29852)
Started GET “/users/sign_in” for ::1 at 2022-02-05 20:03:27 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 19.9ms | Allocations: 9535)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 24139)
Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms | Allocations: 25666)
Started POST “/users/sign_in” for ::1 at 2022-02-05 20:03:31 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 230ms (ActiveRecord: 1.4ms | Allocations: 3474)
Started GET “/” for ::1 at 2022-02-05 20:03:31 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 2039) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 14963)
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.9ms | Allocations: 15359)
Started GET “/products” for ::1 at 2022-02-05 20:03:32 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 115.9ms | Allocations: 26415)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 8.7ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 142.8ms | Allocations: 40992)
Completed 200 OK in 145ms (Views: 118.1ms | ActiveRecord: 25.2ms | Allocations: 41594)
Started GET “/products/18” for ::1 at 2022-02-05 20:03:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (2.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 40.1ms | Allocations: 15994)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.5ms | Allocations: 29634)
Completed 200 OK in 78ms (Views: 66.3ms | ActiveRecord: 8.1ms | Allocations: 30775)
Started POST “/products/18/reviews” for ::1 at 2022-02-05 20:03:44 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Title", "content"=>"Some descriptionq", "rating"=>"2"}, "commit"=>"Create Review", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Title"], ["content", "Some descriptionq"], ["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 01:03:44.733003"], ["updated_at", "2022-02-06 01:03:44.733003"], ["rating", 2]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (2.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/18 Completed 200 OK in 21ms (ActiveRecord: 7.8ms | Allocations: 4404)
Started GET “/products/18” for ::1 at 2022-02-05 20:03:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:59
Rendered products/show.html.erb within layouts/application (Duration: 48.4ms | Allocations: 17087)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 80.9ms | Allocations: 31362)
Completed 200 OK in 87ms (Views: 76.3ms | ActiveRecord: 7.2ms | Allocations: 32504)
Started GET “/products/18” for ::1 at 2022-02-05 20:06:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 49.5ms | Allocations: 23335)
Rendered layout layouts/application.html.erb (Duration: 49.7ms | Allocations: 23399)
Completed 500 Internal Server Error in 106ms (ActiveRecord: 33.4ms | Allocations: 40761)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:06:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 67.7ms | Allocations: 22418)
Rendered layout layouts/application.html.erb (Duration: 68.0ms | Allocations: 22482)
Completed 500 Internal Server Error in 114ms (ActiveRecord: 32.5ms | Allocations: 38983)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:06:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 17.1ms | Allocations: 8365)
Rendered layout layouts/application.html.erb (Duration: 17.4ms | Allocations: 8429)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 5.2ms | Allocations: 9538)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:06:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 41.3ms | Allocations: 22426)
Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 22490)
Completed 500 Internal Server Error in 86ms (ActiveRecord: 33.3ms | Allocations: 39036)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:06:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 8369)
Rendered layout layouts/application.html.erb (Duration: 14.9ms | Allocations: 8433)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 4.1ms | Allocations: 9542)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:07:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 44.8ms | Allocations: 22426)
Rendered layout layouts/application.html.erb (Duration: 45.0ms | Allocations: 22490)
Completed 500 Internal Server Error in 85ms (ActiveRecord: 31.2ms | Allocations: 39036)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:07:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 8369)
Rendered layout layouts/application.html.erb (Duration: 18.0ms | Allocations: 8433)
Completed 500 Internal Server Error in 21ms (ActiveRecord: 4.6ms | Allocations: 9542)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:07:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 52.0ms | Allocations: 22449)
Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 22513)
Completed 500 Internal Server Error in 93ms (ActiveRecord: 30.1ms | Allocations: 39059)
ActionView::Template::Error (:rating can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:07:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 45.6ms | Allocations: 22424)
Rendered layout layouts/application.html.erb (Duration: 45.8ms | Allocations: 22488)
Completed 500 Internal Server Error in 89ms (ActiveRecord: 32.0ms | Allocations: 38993)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% @review.blank_stars.times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/models/review.rb:9:in `-' app/models/review.rb:9:in `blank_stars' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started PUT “/__web_console/repl_sessions/429c03b7caa21ec09fd7c2c0adea8c86” for ::1 at 2022-02-05 20:07:29 -0500 Started PUT “/__web_console/repl_sessions/429c03b7caa21ec09fd7c2c0adea8c86” for ::1 at 2022-02-05 20:07:30 -0500 Started GET “/products/18” for ::1 at 2022-02-05 20:08:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
Rendered products/show.html.erb within layouts/application (Duration: 48.2ms | Allocations: 23331)
Rendered layout layouts/application.html.erb (Duration: 48.5ms | Allocations: 23395)
Completed 500 Internal Server Error in 93ms (ActiveRecord: 30.9ms | Allocations: 40614)
ActionView::Template::Error (nil can't be coerced into Integer):
55: <% review.rating.times do %> 56: <i class="fas fa-star" style='color: #FFCE00'></i> 57: <% end %> 58: <% (5 - @review.rating).times do %> 59: <i class="far fa-star" style='color: #FFCE00'></i> 60: <% end %> 61: <div class='text-right'>
app/views/products/show.html.erb:58:in `-' app/views/products/show.html.erb:58 app/views/products/show.html.erb:38 Started GET “/products/18” for ::1 at 2022-02-05 20:08:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:62
Rendered products/show.html.erb within layouts/application (Duration: 56.8ms | Allocations: 32626)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1304) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 85.2ms | Allocations: 47203)
Completed 200 OK in 131ms (Views: 70.7ms | ActiveRecord: 33.5ms | Allocations: 64414)
Started POST “/products/18/reviews” for ::1 at 2022-02-05 20:08:39 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qweqweqwe", "rating"=>"-1"}, "commit"=>"Create Review", "product_id"=>"18"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
Rendered products/show.html.erb within layouts/application (Duration: 5.0ms | Allocations: 3414)
Rendered layout layouts/application.html.erb (Duration: 5.1ms | Allocations: 3478)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.8ms | Allocations: 7054)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
20: </div>
21: <hr>
22: <div class='order-buy-form'>
23: <%= simple_form_for([ @product, @order ]) do |f| %>
24: <%= f.input :quantity, input_html: { value: 1 } %>
25: <div class='text-right mt-5'>
26: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:23 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/18/reviews” for ::1 at 2022-02-05 20:08:44 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qweqweqwe", "rating"=>"4"}, "commit"=>"Create Review", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (2.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "qwe"], ["content", "qweqweqwe"], ["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 01:08:44.566211"], ["updated_at", "2022-02-06 01:08:44.566211"], ["rating", 4]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/18 Completed 200 OK in 14ms (ActiveRecord: 6.0ms | Allocations: 4434)
Started GET “/products/18” for ::1 at 2022-02-05 20:08:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (2.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (2.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:62
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:62
Rendered products/show.html.erb within layouts/application (Duration: 43.3ms | Allocations: 20107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.1ms | Allocations: 34030)
Completed 200 OK in 73ms (Views: 59.8ms | ActiveRecord: 10.6ms | Allocations: 35172)
Started DELETE “/users/sign_out” for ::1 at 2022-02-05 20:08:55 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms | Allocations: 2214)
Started GET “/” for ::1 at 2022-02-05 20:08:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 956) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.4ms | Allocations: 13918)
Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms | Allocations: 14957)
Started GET “/products” for ::1 at 2022-02-05 20:08:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 55.0ms | Allocations: 26813)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 69.7ms | Allocations: 40491)
Completed 200 OK in 73ms (Views: 54.2ms | ActiveRecord: 16.2ms | Allocations: 41214)
Started GET “/products/18” for ::1 at 2022-02-05 20:09:00 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
Rendered products/show.html.erb within layouts/application (Duration: 16.5ms | Allocations: 8054)
Rendered layout layouts/application.html.erb (Duration: 16.8ms | Allocations: 8118)
Completed 500 Internal Server Error in 21ms (ActiveRecord: 4.8ms | Allocations: 9225)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
44: </span> 45: </h5> 46: <div class="card-body"> 47: <% if current_user.admin == true %> 48: <%= link_to "Remove", 49: review_path(review, :product_id => review.product), 50: method: :delete,
app/views/products/show.html.erb:47 app/views/products/show.html.erb:38 Started GET “/products” for ::1 at 2022-02-05 20:09:09 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.6ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.1ms | Allocations: 39194)
Completed 200 OK in 68ms (Views: 50.3ms | ActiveRecord: 15.3ms | Allocations: 39787)
Started GET “/users/sign_in” for ::1 at 2022-02-05 20:09:13 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 569) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.4ms | Allocations: 10315)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 24149)
Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms | Allocations: 25674)
Started POST “/users/sign_in” for ::1 at 2022-02-05 20:09:23 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 220ms (ActiveRecord: 0.9ms | Allocations: 3473)
Started GET “/” for ::1 at 2022-02-05 20:09:24 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.7ms | Allocations: 14964)
Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.7ms | Allocations: 15360)
Started GET “/products” for ::1 at 2022-02-05 20:09:28 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 57.1ms | Allocations: 26427)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 73.2ms | Allocations: 41003)
Completed 200 OK in 76ms (Views: 52.9ms | ActiveRecord: 20.8ms | Allocations: 41604)
Started GET “/products/18” for ::1 at 2022-02-05 20:09:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (3.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (2.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:62
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:62
Rendered products/show.html.erb within layouts/application (Duration: 39.1ms | Allocations: 18342)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.6ms | Allocations: 31980)
Completed 200 OK in 62ms (Views: 48.8ms | ActiveRecord: 10.1ms | Allocations: 33121)
Started GET “/products/18” for ::1 at 2022-02-05 20:10:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 18464)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 51.5ms | Allocations: 33035)
Completed 200 OK in 58ms (Views: 49.0ms | ActiveRecord: 6.0ms | Allocations: 34974)
Started GET “/products/18” for ::1 at 2022-02-05 20:10:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
Rendered products/show.html.erb within layouts/application (Duration: 42.5ms | Allocations: 18468)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 9.1ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 75.1ms | Allocations: 33040)
Completed 200 OK in 81ms (Views: 72.5ms | ActiveRecord: 5.4ms | Allocations: 34973)
Started GET “/products/18” for ::1 at 2022-02-05 20:10:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
Rendered products/show.html.erb within layouts/application (Duration: 33.1ms | Allocations: 18482)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 52.0ms | Allocations: 33053)
Completed 200 OK in 58ms (Views: 48.5ms | ActiveRecord: 6.4ms | Allocations: 34991)
Started DELETE “/reviews/2?product_id=18” for ::1 at 2022-02-05 20:10:34 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (1.1ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 2]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 4.5ms | Allocations: 3967)
Started GET “/products/18” for ::1 at 2022-02-05 20:10:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:38
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:47
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:63
Rendered products/show.html.erb within layouts/application (Duration: 24.9ms | Allocations: 16884)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.1ms | Allocations: 30424)
Completed 200 OK in 44ms (Views: 36.0ms | ActiveRecord: 5.2ms | Allocations: 31563)
Started DELETE “/reviews/3?product_id=18” for ::1 at 2022-02-05 20:11:03 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"3"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (1.2ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 3]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.7ms | Allocations: 3866)
Started GET “/products/18” for ::1 at 2022-02-05 20:11:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:56:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:34
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:82
Rendered products/show.html.erb within layouts/application (Duration: 25.2ms | Allocations: 15197)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 873) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 28732)
Completed 200 OK in 45ms (Views: 38.3ms | ActiveRecord: 4.2ms | Allocations: 29871)
Started GET “/products” for ::1 at 2022-02-05 20:20:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 71.0ms | Allocations: 26278)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (3.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.9ms | Allocations: 1854) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 108.2ms | Allocations: 40898)
Completed 200 OK in 138ms (Views: 80.5ms | ActiveRecord: 46.1ms | Allocations: 45484)
Started GET “/products” for ::1 at 2022-02-05 20:23:35 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 53.9ms | Allocations: 25925)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.0ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 86.6ms | Allocations: 41523)
Completed 200 OK in 93ms (Views: 73.3ms | ActiveRecord: 17.7ms | Allocations: 42914)
Started GET “/products” for ::1 at 2022-02-05 20:23:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 44.2ms | Allocations: 25529)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 63.2ms | Allocations: 40104)
Completed 200 OK in 65ms (Views: 47.9ms | ActiveRecord: 15.9ms | Allocations: 40702)
Started GET “/products” for ::1 at 2022-02-05 20:23:44 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (3.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 55.2ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 73.0ms | Allocations: 40085)
Completed 200 OK in 75ms (Views: 53.4ms | ActiveRecord: 20.0ms | Allocations: 40683)
Started GET “/products” for ::1 at 2022-02-05 20:23:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.5ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 70.6ms | Allocations: 40088)
Completed 200 OK in 73ms (Views: 54.0ms | ActiveRecord: 17.2ms | Allocations: 40686)
Started GET “/products” for ::1 at 2022-02-05 20:23:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.3ms | Allocations: 25527)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.6ms | Allocations: 40093)
Completed 200 OK in 60ms (Views: 43.8ms | ActiveRecord: 15.2ms | Allocations: 40690)
Started GET “/products” for ::1 at 2022-02-05 20:23:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 41.7ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (8.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 12.2ms | Allocations: 1843) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.7ms | Allocations: 42716)
Completed 200 OK in 71ms (Views: 47.4ms | ActiveRecord: 22.3ms | Allocations: 43363)
Started GET “/products” for ::1 at 2022-02-05 20:23:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.8ms | Allocations: 25522)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 65.1ms | Allocations: 40086)
Completed 200 OK in 67ms (Views: 49.0ms | ActiveRecord: 16.5ms | Allocations: 40684)
Started GET “/products” for ::1 at 2022-02-05 20:23:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 43.3ms | Allocations: 25523)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 60.2ms | Allocations: 40101)
Completed 200 OK in 62ms (Views: 46.2ms | ActiveRecord: 14.5ms | Allocations: 40698)
Started GET “/products” for ::1 at 2022-02-05 20:23:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 43.9ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 59.5ms | Allocations: 40088)
Completed 200 OK in 61ms (Views: 45.0ms | ActiveRecord: 14.9ms | Allocations: 40686)
Started GET “/products” for ::1 at 2022-02-05 20:23:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.0ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 59.3ms | Allocations: 40085)
Completed 200 OK in 61ms (Views: 45.0ms | ActiveRecord: 14.6ms | Allocations: 40682)
Started GET “/products” for ::1 at 2022-02-05 20:23:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 42.2ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.1ms | Allocations: 40087)
Completed 200 OK in 60ms (Views: 43.8ms | ActiveRecord: 14.7ms | Allocations: 40684)
Started GET “/orders” for ::1 at 2022-02-05 20:23:48 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (4.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 9.1ms | Allocations: 1375)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1847) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 16059)
Completed 200 OK in 38ms (Views: 30.2ms | ActiveRecord: 6.1ms | Allocations: 17888)
Started GET “/products” for ::1 at 2022-02-05 20:23:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 61.3ms | Allocations: 26406)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 85.6ms | Allocations: 40983)
Completed 200 OK in 88ms (Views: 66.9ms | ActiveRecord: 19.2ms | Allocations: 41585)
Started GET “/products” for ::1 at 2022-02-05 20:23:50 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 46.6ms | Allocations: 25525)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.7ms | Allocations: 40089)
Completed 200 OK in 65ms (Views: 47.5ms | ActiveRecord: 15.8ms | Allocations: 40686)
Started GET “/products” for ::1 at 2022-02-05 20:24:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 44.2ms | Allocations: 25521)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 59.9ms | Allocations: 40087)
Completed 200 OK in 62ms (Views: 45.1ms | ActiveRecord: 15.2ms | Allocations: 40684)
Started GET “/products” for ::1 at 2022-02-05 20:24:28 -0500
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (6.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 456.1ms | Allocations: 91766)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 19.3ms | Allocations: 8695) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 492.4ms | Allocations: 113847)
Completed 200 OK in 513ms (Views: 449.8ms | ActiveRecord: 46.2ms | Allocations: 119959)
Started GET “/products” for ::1 at 2022-02-05 20:24:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 48.9ms | Allocations: 25543)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.5ms | Allocations: 40117)
Completed 200 OK in 72ms (Views: 53.4ms | ActiveRecord: 16.7ms | Allocations: 40727)
Started GET “/products” for ::1 at 2022-02-05 20:24:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 51.2ms | Allocations: 25933)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 71.1ms | Allocations: 41571)
Completed 200 OK in 77ms (Views: 56.4ms | ActiveRecord: 17.1ms | Allocations: 42970)
Started GET “/products” for ::1 at 2022-02-05 20:24:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 59.9ms | Allocations: 25546)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 76.9ms | Allocations: 40159)
Completed 200 OK in 79ms (Views: 60.3ms | ActiveRecord: 17.1ms | Allocations: 40769)
Started GET “/products” for ::1 at 2022-02-05 20:24:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:15 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:18:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:18:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.4ms | Allocations: 25931)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 2237) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 71.6ms | Allocations: 41573)
Completed 200 OK in 76ms (Views: 57.1ms | ActiveRecord: 16.7ms | Allocations: 42972)
Started GET “/products” for ::1 at 2022-02-05 20:25:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 49.3ms | Allocations: 25941)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 2237) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 73.8ms | Allocations: 41584)
Completed 200 OK in 79ms (Views: 60.1ms | ActiveRecord: 16.4ms | Allocations: 42984)
Started GET “/products” for ::1 at 2022-02-05 20:26:39 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 51.8ms | Allocations: 25941)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.7ms | Allocations: 2232) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 74.1ms | Allocations: 41579)
Completed 200 OK in 79ms (Views: 58.5ms | ActiveRecord: 17.8ms | Allocations: 42977)
Started GET “/products” for ::1 at 2022-02-05 20:26:53 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 66.4ms | Allocations: 25546)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.9ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1969.3ms | Allocations: 131589)
Completed 200 OK in 1972ms (Views: 1951.6ms | ActiveRecord: 18.5ms | Allocations: 132198)
Started GET “/products” for ::1 at 2022-02-05 20:27:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.0ms | Allocations: 25533)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1710.5ms | Allocations: 130728)
Completed 200 OK in 1713ms (Views: 1694.5ms | ActiveRecord: 16.7ms | Allocations: 131336)
Started GET “/products” for ::1 at 2022-02-05 20:27:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (8.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 66.1ms | Allocations: 25524)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 85.1ms | Allocations: 40124)
Completed 200 OK in 87ms (Views: 61.5ms | ActiveRecord: 24.1ms | Allocations: 40723)
Started GET “/products” for ::1 at 2022-02-05 20:27:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (8.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 73.8ms | Allocations: 25949)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 95.5ms | Allocations: 41554)
Completed 200 OK in 101ms (Views: 71.1ms | ActiveRecord: 27.4ms | Allocations: 42953)
Started GET “/products” for ::1 at 2022-02-05 20:28:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 59.2ms | Allocations: 26422)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 79.2ms | Allocations: 41030)
Completed 200 OK in 82ms (Views: 60.8ms | ActiveRecord: 18.9ms | Allocations: 41633)
Started GET “/products” for ::1 at 2022-02-05 20:28:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 10.2ms | Allocations: 3750) Rendered layout layouts/application.html.erb (Duration: 10.4ms | Allocations: 3815)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms | Allocations: 5191)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <h1>Everything you need in one place!</h1>
<div class=“product-add”>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false">
Filter by
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Name ascending</a>
<a class="dropdown-item" href="#">Name descending</a>
<a class="dropdown-item" href="#">Price ascending</a>
<a class="dropdown-item" href="#">Price descending</a>
<%= link_to 'Name ascending' products_path %>
</div>
</div>
<%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %>
</div>
<div class='tags-container'>
<% @tags.each do |tag| %> <%= link_to tag, tag_path(tag), class: 'product-tag-anchor' %> <% end %> <%= link_to 'All products', products_path, class: 'product-tag-anchor' %>
</div>
<div class='products-container mt-5'>
<% @products.each do |product| %>
<div class="card" style="width: 18rem;">
<div class='product-tags'>
<% product.tags.map(&:name).each do |tag| %>
<%= link_to tag, tag_path(tag), class: 'product-tag-anchor' %>
<% end %>
</div>
<%= link_to product_path(product) do %>
<%= image_tag('snack_store.png', class: 'card-img-top', style: 'background-color: black;') %>
<% end %>
<div class="card-body">
<h5 class="card-title"><%= product.name %></h5>
<p class="card-text text-right">Price: $ <%= product.price %></p>
<div class='product-card-buttons'>
<%= link_to 'Buy product', product_path(product), class:'btn btn-primary' %>
</div>
</div>
</div>
<% end %>
</div> ): 1: <h1>Everything you need in one place!</h1> 2:
3: <div class=“product-add”> 4: <div class=“dropdown”> 5: <button class=“btn btn-secondary dropdown-toggle” type=“button” id=“dropdownMenuButton” data-toggle=“dropdown” aria-expanded=“false”> 6: Filter by 7: </button> 8: <div class=“dropdown-menu” aria-labelledby=“dropdownMenuButton”> 9: <a class=“dropdown-item” href=“#”>Name ascending</a> 10: <a class=“dropdown-item” href=“#”>Name descending</a> 11: <a class=“dropdown-item” href=“#”>Price ascending</a> 12: <a class=“dropdown-item” href=“#”>Price descending</a> 13: <%= link_to 'Name ascending' products_path %> 14: </div> 15: </div> 16: <%= link_to 'Add a new product', new_product_path, class: 'btn btn-outline-primary' %> 17: </div> 18:
19: <div class='tags-container'> 20: <% @tags.each do |tag| %> 21: <%= link_to tag, tag_path(tag), class: 'product-tag-anchor' %> 22: <% end %> 23: <%= link_to 'All products', products_path, class: 'product-tag-anchor' %> 24: </div> 25:
26: <div class='products-container mt-5'> 27: <% @products.each do |product| %> 28: <div class=“card” style=“width: 18rem;”> 29: <div class='product-tags'> 30: <% product.tags.map(&:name).each do |tag| %> 31: <%= link_to tag, tag_path(tag), class: 'product-tag-anchor' %> 32: <% end %> 33: </div> 34: <%= link_to product_path(product) do %> 35: <%= image_tag('snack_store.png', class: 'card-img-top', style: 'background-color: black;') %> 36: <% end %> 37: <div class=“card-body”> 38: <h5 class=“card-title”><%= product.name %></h5> 39: <p class=“card-text text-right”>Price: $ <%= product.price %></p> 40: <div class='product-card-buttons'> 41: <%= link_to 'Buy product', product_path(product), class:'btn btn-primary' %> 42: </div> 43: </div> 44: </div> 45: <% end %> 46: </div>
app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' app/views/products/index.html.erb:13: syntax error, unexpected local variable or method, expecting ')' Started GET “/products” for ::1 at 2022-02-05 20:28:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' Rendered products/index.html.erb within layouts/application (Duration: 52.5ms | Allocations: 25976)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 73.4ms | Allocations: 41614)
Completed 200 OK in 78ms (Views: 59.7ms | ActiveRecord: 15.8ms | Allocations: 43014)
Started GET “/products” for ::1 at 2022-02-05 20:29:13 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' Rendered products/index.html.erb within layouts/application (Duration: 48.8ms | Allocations: 25978)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2239) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 70.8ms | Allocations: 41620)
Completed 200 OK in 76ms (Views: 57.8ms | ActiveRecord: 15.8ms | Allocations: 43018)
Started GET “/products” for ::1 at 2022-02-05 20:29:43 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 75.9ms | Allocations: 26101)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 11.0ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 206) Rendered layout layouts/application.html.erb (Duration: 117.2ms | Allocations: 41743)
Completed 200 OK in 122ms (Views: 100.5ms | ActiveRecord: 18.9ms | Allocations: 43141)
Started GET “/tags/Sauces” for ::1 at 2022-02-05 20:30:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:26
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:29:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 30.4ms | Allocations: 9491)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.7ms | Allocations: 24003)
Completed 200 OK in 60ms (Views: 43.4ms | ActiveRecord: 11.3ms | Allocations: 25768)
Started GET “/tags/Fats” for ::1 at 2022-02-05 20:30:38 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:26
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:29:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 12.1ms | Allocations: 4720)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.2ms | Allocations: 20214)
Completed 200 OK in 42ms (Views: 34.1ms | ActiveRecord: 5.3ms | Allocations: 21402)
Started GET “/tags/Dairy” for ::1 at 2022-02-05 20:30:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:26
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:29:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 23.2ms | Allocations: 10130)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 24733)
Completed 200 OK in 44ms (Views: 32.5ms | ActiveRecord: 8.7ms | Allocations: 25922)
Started GET “/products” for ::1 at 2022-02-05 20:31:53 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 88.3ms | Allocations: 36479)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 24.1ms | Allocations: 7655) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 130.5ms | Allocations: 56838)
Completed 200 OK in 140ms (Views: 85.5ms | ActiveRecord: 45.9ms | Allocations: 60746)
Started GET “/products” for ::1 at 2022-02-05 20:31:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 141.8ms | Allocations: 25610)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 158.9ms | Allocations: 40212)
Completed 200 OK in 164ms (Views: 138.9ms | ActiveRecord: 20.9ms | Allocations: 40813)
Started GET “/products” for ::1 at 2022-02-05 20:31:55 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 72.1ms | Allocations: 25609)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 90.2ms | Allocations: 40173)
Completed 200 OK in 94ms (Views: 68.8ms | ActiveRecord: 22.2ms | Allocations: 40773)
Started GET “/products” for ::1 at 2022-02-05 20:32:10 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application Rendered products/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 1686) Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 1750)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms | Allocations: 3119)
ActionView::Template::Error (No route matches {:action=>“index”, :controller=>“products”}, missing required keys: [:filter] Did you mean? filter_url):
6: Filter by 7: </button> 8: <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> 9: <%= link_to 'Name ascending', filter_path, class: "dropdown-item" %> 10: <%= link_to 'Name descending', products_path, class: "dropdown-item" %> 11: <%= link_to 'Price ascending', products_path, class: "dropdown-item" %> 12: <%= link_to 'Price ascending', products_path, class: "dropdown-item" %>
app/views/products/index.html.erb:9 Started GET “/products” for ::1 at 2022-02-06 10:12:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (7.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 105.1ms | Allocations: 26451)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 11.4ms | Allocations: 2277) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 160.3ms | Allocations: 42136)
Completed 200 OK in 268ms (Views: 140.9ms | ActiveRecord: 75.5ms | Allocations: 46496)
Started GET “/products” for ::1 at 2022-02-06 10:12:29 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 64.0ms | Allocations: 25617)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 85.3ms | Allocations: 40189)
Completed 200 OK in 89ms (Views: 66.8ms | ActiveRecord: 19.8ms | Allocations: 40790)
Started GET “/products” for ::1 at 2022-02-06 10:12:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 64.9ms | Allocations: 25609)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 84.4ms | Allocations: 40173)
Completed 200 OK in 87ms (Views: 63.7ms | ActiveRecord: 21.4ms | Allocations: 40773)
Started GET “/tags/Cereals” for ::1 at 2022-02-06 10:20:11 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:26
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:29:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:29:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 17.8ms | Allocations: 10997)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 12.9ms | Allocations: 6831) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 50.4ms | Allocations: 30532)
Completed 200 OK in 89ms (Views: 45.9ms | ActiveRecord: 17.7ms | Allocations: 42333)
Started GET “/products” for ::1 at 2022-02-06 10:20:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 65.0ms | Allocations: 26506)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 82.0ms | Allocations: 41070)
Completed 200 OK in 84ms (Views: 60.9ms | ActiveRecord: 21.6ms | Allocations: 41673)
Started GET “/products” for ::1 at 2022-02-06 10:20:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 58.7ms | Allocations: 25609)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 76.5ms | Allocations: 40173)
Completed 200 OK in 82ms (Views: 59.3ms | ActiveRecord: 17.8ms | Allocations: 40776)
Started GET “/products” for ::1 at 2022-02-06 10:20:16 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:26 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:29:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:29:in `map' Rendered products/index.html.erb within layouts/application (Duration: 58.7ms | Allocations: 25612)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.5ms | Allocations: 40214)
Completed 200 OK in 79ms (Views: 57.8ms | ActiveRecord: 18.2ms | Allocations: 40818)
Started GET “/products” for ::1 at 2022-02-06 10:22:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:29 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:32:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:32:in `map' Rendered products/index.html.erb within layouts/application (Duration: 93.8ms | Allocations: 37276)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 20.4ms | Allocations: 8078) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 138.4ms | Allocations: 58661)
Completed 200 OK in 149ms (Views: 89.7ms | ActiveRecord: 52.2ms | Allocations: 63267)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 10:22:57 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:29
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:32:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 79.6ms | Allocations: 26744)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 98.3ms | Allocations: 41354)
Completed 200 OK in 100ms (Views: 76.5ms | ActiveRecord: 22.5ms | Allocations: 41800)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 10:23:01 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:29
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:32:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:32:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 81.4ms | Allocations: 26723)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 102.0ms | Allocations: 41325)
Completed 200 OK in 103ms (Views: 76.5ms | ActiveRecord: 26.0ms | Allocations: 41770)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 10:23:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 59.7ms | Allocations: 26241)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 87.0ms | Allocations: 41841)
Completed 200 OK in 92ms (Views: 70.8ms | ActiveRecord: 19.1ms | Allocations: 43082)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 10:23:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 60.2ms | Allocations: 26689)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 76.9ms | Allocations: 41299)
Completed 200 OK in 79ms (Views: 59.5ms | ActiveRecord: 18.3ms | Allocations: 41745)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:23:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 63.2ms | Allocations: 26651)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 82.9ms | Allocations: 41253)
Completed 200 OK in 84ms (Views: 65.3ms | ActiveRecord: 18.4ms | Allocations: 41698)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 10:23:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 58.6ms | Allocations: 26670)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 77.7ms | Allocations: 41272)
Completed 200 OK in 79ms (Views: 59.4ms | ActiveRecord: 18.8ms | Allocations: 41717)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 10:27:04 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms | Allocations: 1575)
SyntaxError (/Users/gabriel/Desktop/Gabriel/Applaudo Studios/week4 - heroku/rails-store-app/app/models/product.rb:28: syntax error, unexpected '=', expecting `end'
[filter, type] = query.split('-')
^
):
app/models/product.rb:28: syntax error, unexpected '=', expecting `end' app/models/product.rb:28: syntax error, unexpected '=', expecting `end' app/models/product.rb:28: syntax error, unexpected '=', expecting `end' app/controllers/products_controller.rb:11:in `index' Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 10:27:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 2.7ms | Allocations: 1873)
Rendered layout layouts/application.html.erb (Duration: 3.2ms | Allocations: 1937)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms | Allocations: 5754)
ActionView::Template::Error (undefined method `each' for nil:NilClass):
22: </div> 23: 24: <div class='products-container mt-5'> 25: <% @products.each do |product| %> 26: <div class="card" style="width: 18rem;"> 27: <div class='product-tags'> 28: <% product.tags.map(&:name).each do |tag| %>
app/views/products/index.html.erb:25 Started GET “/poducts” for ::1 at 2022-02-06 10:28:16 -0500
ActionController::RoutingError (No route matches [GET] “/poducts”):
Started GET “/products” for ::1 at 2022-02-06 10:28:21 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 92.1ms | Allocations: 36494)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 15.5ms | Allocations: 7675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 131.0ms | Allocations: 56873)
Completed 200 OK in 134ms (Views: 93.6ms | ActiveRecord: 38.0ms | Allocations: 57518)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 10:28:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 64.0ms | Allocations: 26509)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 81.5ms | Allocations: 41073)
Completed 200 OK in 84ms (Views: 60.8ms | ActiveRecord: 21.3ms | Allocations: 41669)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 10:28:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 211.3ms | Allocations: 26492)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 228.7ms | Allocations: 41057)
Completed 200 OK in 231ms (Views: 207.1ms | ActiveRecord: 22.1ms | Allocations: 41652)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 10:29:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 82.7ms | Allocations: 36456)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 15.9ms | Allocations: 7655) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 113.4ms | Allocations: 56815)
Completed 200 OK in 123ms (Views: 75.6ms | ActiveRecord: 38.7ms | Allocations: 60864)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 10:29:04 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.7ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 104.2ms | Allocations: 26502)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 123.0ms | Allocations: 41066)
Completed 200 OK in 125ms (Views: 103.8ms | ActiveRecord: 19.7ms | Allocations: 41661)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:29:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 55.0ms | Allocations: 26506)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 73.3ms | Allocations: 41109)
Completed 200 OK in 76ms (Views: 55.3ms | ActiveRecord: 18.5ms | Allocations: 41705)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:30:10 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 74.8ms | Allocations: 36458)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 16.8ms | Allocations: 7675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 117.7ms | Allocations: 56837)
Completed 200 OK in 128ms (Views: 84.7ms | ActiveRecord: 34.1ms | Allocations: 60884)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 10:30:12 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 55.7ms | Allocations: 26504)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 71.8ms | Allocations: 41106)
Completed 200 OK in 74ms (Views: 55.0ms | ActiveRecord: 17.1ms | Allocations: 41702)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:30:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (3.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (3.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 78.1ms | Allocations: 26498)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 97.1ms | Allocations: 41063)
Completed 200 OK in 100ms (Views: 70.4ms | ActiveRecord: 27.3ms | Allocations: 41658)
Started GET “/tags/Desserts” for ::1 at 2022-02-06 10:30:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 24.3ms | Allocations: 7973)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 22477)
Completed 200 OK in 56ms (Views: 39.8ms | ActiveRecord: 7.5ms | Allocations: 24238)
Started GET “/tags/Snacks” for ::1 at 2022-02-06 10:30:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 20.5ms | Allocations: 5617)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.4ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.7ms | Allocations: 20182)
Completed 200 OK in 61ms (Views: 50.1ms | ActiveRecord: 7.5ms | Allocations: 21377)
Started GET “/tags/Seeds” for ::1 at 2022-02-06 10:30:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 16.6ms | Allocations: 7011)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 21724)
Completed 200 OK in 43ms (Views: 32.9ms | ActiveRecord: 7.9ms | Allocations: 22920)
Started GET “/tags/Sauces” for ::1 at 2022-02-06 10:31:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 25.6ms | Allocations: 8643)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.2ms | Allocations: 23207)
Completed 200 OK in 56ms (Views: 43.7ms | ActiveRecord: 8.4ms | Allocations: 24402)
Started GET “/tags/Desserts” for ::1 at 2022-02-06 10:31:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 26.1ms | Allocations: 6991)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.7ms | Allocations: 21737)
Completed 200 OK in 52ms (Views: 41.1ms | ActiveRecord: 7.9ms | Allocations: 22933)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-06 10:31:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 14.6ms | Allocations: 5624)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.3ms | Allocations: 20226)
Completed 200 OK in 37ms (Views: 28.0ms | ActiveRecord: 5.8ms | Allocations: 21422)
Started GET “/products” for ::1 at 2022-02-06 10:31:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 50.4ms | Allocations: 26492)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 66.2ms | Allocations: 41094)
Completed 200 OK in 68ms (Views: 49.0ms | ActiveRecord: 17.7ms | Allocations: 41705)
Started GET “/products” for ::1 at 2022-02-06 10:32:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 80.9ms | Allocations: 36553)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 19.2ms | Allocations: 7656) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 125.1ms | Allocations: 56913)
Completed 200 OK in 138ms (Views: 86.8ms | ActiveRecord: 39.2ms | Allocations: 60979)
Started GET “/products” for ::1 at 2022-02-06 10:33:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' Rendered products/index.html.erb within layouts/application (Duration: 70.8ms | Allocations: 36442)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 18.7ms | Allocations: 7655) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 102.3ms | Allocations: 56801)
Completed 200 OK in 112ms (Views: 68.9ms | ActiveRecord: 34.3ms | Allocations: 60863)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 10:33:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 58.0ms | Allocations: 26494)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.1ms | Allocations: 41096)
Completed 200 OK in 78ms (Views: 56.8ms | ActiveRecord: 19.0ms | Allocations: 41692)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:33:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (4.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 67.9ms | Allocations: 26503)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 85.5ms | Allocations: 41105)
Completed 200 OK in 88ms (Views: 62.9ms | ActiveRecord: 23.1ms | Allocations: 41701)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 10:33:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
Rendered products/index.html.erb within layouts/application (Duration: 48.7ms | Allocations: 26080)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.3ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 0.6ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 68.9ms | Allocations: 41718)
Completed 200 OK in 75ms (Views: 57.4ms | ActiveRecord: 15.8ms | Allocations: 43111)
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateLikes (20220206163004)
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (31.7ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
, CONSTRAINT “fk_rails_1e09b5dabf” FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[36mActiveRecord::SchemaMigration Create (3.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220206163004"]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 11:36:04 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 121.8ms | Allocations: 58997)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 18.5ms | Allocations: 7254) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 169.0ms | Allocations: 79561)
Completed 200 OK in 180ms (Views: 127.7ms | ActiveRecord: 43.6ms | Allocations: 84649)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 491.2ms | Allocations: 372900)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 506.5ms | Allocations: 386481)
Completed 200 OK in 541ms (Views: 501.8ms | ActiveRecord: 18.9ms | Allocations: 396855)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:36:12 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `find_product'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mLike Create (7.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:36:12.404278"], ["updated_at", "2022-02-06 16:36:12.404278"]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:5:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 100ms (ActiveRecord: 16.1ms | Allocations: 9619)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 71.1ms | Allocations: 17378)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 85.1ms | Allocations: 30912)
Completed 200 OK in 88ms (Views: 79.3ms | ActiveRecord: 6.8ms | Allocations: 32051)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:36:13 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `find_product'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:36:13.642626"], ["updated_at", "2022-02-06 16:36:13.642626"]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:5:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.8ms | Allocations: 5721)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:13 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 23.0ms | Allocations: 17382)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 30916)
Completed 200 OK in 39ms (Views: 32.2ms | ActiveRecord: 5.0ms | Allocations: 32054)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:36:14 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `find_product'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:36:14.419742"], ["updated_at", "2022-02-06 16:36:14.419742"]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:5:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.9ms | Allocations: 5721)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 23.7ms | Allocations: 17396)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 30933)
Completed 200 OK in 41ms (Views: 33.8ms | ActiveRecord: 5.0ms | Allocations: 32071)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:36:15 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `find_product'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:36:15.082886"], ["updated_at", "2022-02-06 16:36:15.082886"]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:5:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 6.2ms | Allocations: 5721)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (1.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 24.6ms | Allocations: 17410)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 30944)
Completed 200 OK in 40ms (Views: 33.4ms | ActiveRecord: 5.4ms | Allocations: 32082)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:36:32 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `find_product'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mLike Create (1.5ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:36:32.472848"], ["updated_at", "2022-02-06 16:36:32.472848"]]
↳ app/controllers/likes_controller.rb:5:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:5:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.5ms | Allocations: 5718)
Started GET “/products/18” for ::1 at 2022-02-06 11:36:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:36
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:84
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 17425)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 30959)
Completed 200 OK in 42ms (Views: 33.9ms | ActiveRecord: 5.3ms | Allocations: 32097)
Started GET “/products/18” for ::1 at 2022-02-06 11:47:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:21
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:42
Rendered products/show.html.erb within layouts/application (Duration: 60.9ms | Allocations: 34095)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 1304) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 86.4ms | Allocations: 48678)
Completed 200 OK in 127ms (Views: 81.6ms | ActiveRecord: 17.0ms | Allocations: 67787)
Started GET “/products/18” for ::1 at 2022-02-06 11:47:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:20
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 18480)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.0ms | Allocations: 33048)
Completed 200 OK in 52ms (Views: 42.5ms | ActiveRecord: 5.9ms | Allocations: 34987)
Started GET “/products/18” for ::1 at 2022-02-06 11:47:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 28.2ms | Allocations: 18465)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.6ms | Allocations: 33033)
Completed 200 OK in 52ms (Views: 42.2ms | ActiveRecord: 5.8ms | Allocations: 34965)
Started DELETE “/products/18/likes/1” for ::1 at 2022-02-06 11:48:05 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"1"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (2.2ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 1]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 19ms (ActiveRecord: 7.4ms | Allocations: 5550)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 23.4ms | Allocations: 17446)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.0ms | Allocations: 30986)
Completed 200 OK in 40ms (Views: 32.9ms | ActiveRecord: 5.1ms | Allocations: 32125)
Started DELETE “/products/18/likes/2” for ::1 at 2022-02-06 11:48:07 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 2]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.4ms | Allocations: 5401)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 17414)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 30951)
Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 5.8ms | Allocations: 32089)
Started DELETE “/products/18/likes/3” for ::1 at 2022-02-06 11:48:08 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"3"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 3]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 37ms (ActiveRecord: 5.2ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 21.9ms | Allocations: 17401)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.5ms | Allocations: 30935)
Completed 200 OK in 39ms (Views: 31.9ms | ActiveRecord: 4.6ms | Allocations: 32073)
Started DELETE “/products/18/likes/4” for ::1 at 2022-02-06 11:48:08 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"4"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 4], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 4]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.7ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.5ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 30922)
Completed 200 OK in 39ms (Views: 33.1ms | ActiveRecord: 4.6ms | Allocations: 32060)
Started DELETE “/products/18/likes/5” for ::1 at 2022-02-06 11:48:09 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 5]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 6.1ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 23.5ms | Allocations: 17371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 30911)
Completed 200 OK in 41ms (Views: 34.8ms | ActiveRecord: 4.7ms | Allocations: 32049)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:10 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.6ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:10.174826"], ["updated_at", "2022-02-06 16:48:10.174826"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 18ms (ActiveRecord: 7.1ms | Allocations: 7272)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 17413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 30953)
Completed 200 OK in 39ms (Views: 32.7ms | ActiveRecord: 4.4ms | Allocations: 32092)
Started DELETE “/products/18/likes/6” for ::1 at 2022-02-06 11:48:11 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"6"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 6], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (1.0ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 6]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 6.2ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 22.1ms | Allocations: 17370)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.4ms | Allocations: 30904)
Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 4.4ms | Allocations: 32042)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:12 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:12.310096"], ["updated_at", "2022-02-06 16:48:12.310096"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.5ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.8ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.4ms | Allocations: 30922)
Completed 200 OK in 40ms (Views: 32.9ms | ActiveRecord: 4.6ms | Allocations: 32060)
Started DELETE “/products/18/likes/7” for ::1 at 2022-02-06 11:48:12 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 7], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (1.1ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 7]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 6.0ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 22.9ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 30902)
Completed 200 OK in 39ms (Views: 33.0ms | ActiveRecord: 4.7ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:14 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:14.571920"], ["updated_at", "2022-02-06 16:48:14.571920"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.4ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 30922)
Completed 200 OK in 41ms (Views: 34.0ms | ActiveRecord: 5.0ms | Allocations: 32060)
Started DELETE “/products/18/likes/8” for ::1 at 2022-02-06 11:48:15 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 8], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 8]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.4ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (2.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 56.5ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 70.8ms | Allocations: 30902)
Completed 200 OK in 74ms (Views: 65.6ms | ActiveRecord: 6.2ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:15 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:15.933885"], ["updated_at", "2022-02-06 16:48:15.933885"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.4ms | Allocations: 6380)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.2ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 30922)
Completed 200 OK in 39ms (Views: 32.6ms | ActiveRecord: 4.5ms | Allocations: 32060)
Started DELETE “/products/18/likes/9” for ::1 at 2022-02-06 11:48:16 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"9"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 9]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.9ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 23.8ms | Allocations: 17370)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 30911)
Completed 200 OK in 45ms (Views: 37.7ms | ActiveRecord: 4.8ms | Allocations: 32050)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:17 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:17.121465"], ["updated_at", "2022-02-06 16:48:17.121465"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 7.0ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.9ms | Allocations: 17413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 30953)
Completed 200 OK in 39ms (Views: 32.8ms | ActiveRecord: 4.7ms | Allocations: 32092)
Started DELETE “/products/18/likes/10” for ::1 at 2022-02-06 11:48:17 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 10], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 10]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.5ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 24.2ms | Allocations: 17370)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.8ms | Allocations: 30907)
Completed 200 OK in 41ms (Views: 33.9ms | ActiveRecord: 4.8ms | Allocations: 32045)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:18 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:18.241390"], ["updated_at", "2022-02-06 16:48:18.241390"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.7ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.7ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 30922)
Completed 200 OK in 41ms (Views: 33.5ms | ActiveRecord: 4.6ms | Allocations: 32060)
Started DELETE “/products/18/likes/11” for ::1 at 2022-02-06 11:48:18 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"11"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 11], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (1.1ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 11]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.0ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 30902)
Completed 200 OK in 40ms (Views: 33.1ms | ActiveRecord: 4.7ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:20 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:20.017623"], ["updated_at", "2022-02-06 16:48:20.017623"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.1ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 23.3ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 30922)
Completed 200 OK in 40ms (Views: 33.3ms | ActiveRecord: 4.9ms | Allocations: 32060)
Started DELETE “/products/18/likes/12” for ::1 at 2022-02-06 11:48:21 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"12"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 12], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 12]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.1ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 24.6ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.9ms | Allocations: 30902)
Completed 200 OK in 42ms (Views: 34.7ms | ActiveRecord: 5.0ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:21 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:21.727063"], ["updated_at", "2022-02-06 16:48:21.727063"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.8ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 23.6ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 30926)
Completed 200 OK in 40ms (Views: 33.6ms | ActiveRecord: 4.8ms | Allocations: 32064)
Started DELETE “/products/18/likes/13” for ::1 at 2022-02-06 11:48:22 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"13"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 13], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 13]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.5ms | Allocations: 5414)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (3.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 25.7ms | Allocations: 17371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.4ms | Allocations: 30912)
Completed 200 OK in 43ms (Views: 33.0ms | ActiveRecord: 7.3ms | Allocations: 32051)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:22 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:22.624170"], ["updated_at", "2022-02-06 16:48:22.624170"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.1ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 23.8ms | Allocations: 17411)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.0ms | Allocations: 30951)
Completed 200 OK in 41ms (Views: 33.8ms | ActiveRecord: 5.2ms | Allocations: 32090)
Started DELETE “/products/18/likes/14” for ::1 at 2022-02-06 11:48:23 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 14]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.2ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 17394)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 30928)
Completed 200 OK in 39ms (Views: 32.9ms | ActiveRecord: 4.7ms | Allocations: 32066)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:23 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:23.559462"], ["updated_at", "2022-02-06 16:48:23.559462"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.2ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 30922)
Completed 200 OK in 40ms (Views: 33.2ms | ActiveRecord: 4.6ms | Allocations: 32060)
Started DELETE “/products/18/likes/15” for ::1 at 2022-02-06 11:48:23 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"15"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 15], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 15]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.7ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 22.6ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.3ms | Allocations: 30902)
Completed 200 OK in 39ms (Views: 32.6ms | ActiveRecord: 4.6ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:24 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:24.362663"], ["updated_at", "2022-02-06 16:48:24.362663"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 18ms (ActiveRecord: 6.8ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 24.4ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.8ms | Allocations: 30941)
Completed 200 OK in 42ms (Views: 34.8ms | ActiveRecord: 5.0ms | Allocations: 32079)
Started DELETE “/products/18/likes/16” for ::1 at 2022-02-06 11:48:24 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"16"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 16]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 13ms (ActiveRecord: 5.3ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 23.2ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 30902)
Completed 200 OK in 40ms (Views: 33.9ms | ActiveRecord: 4.8ms | Allocations: 32040)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:25 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:25.302092"], ["updated_at", "2022-02-06 16:48:25.302092"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.5ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 21.7ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 30922)
Completed 200 OK in 39ms (Views: 32.5ms | ActiveRecord: 4.3ms | Allocations: 32060)
Started DELETE “/products/18/likes/17” for ::1 at 2022-02-06 11:48:26 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"17"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 17], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 17]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.4ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 28.0ms | Allocations: 17383)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.6ms | Allocations: 30924)
Completed 200 OK in 47ms (Views: 39.9ms | ActiveRecord: 4.7ms | Allocations: 32063)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:27 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:27.187681"], ["updated_at", "2022-02-06 16:48:27.187681"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.3ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 17393)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.5ms | Allocations: 30933)
Completed 200 OK in 39ms (Views: 33.0ms | ActiveRecord: 4.4ms | Allocations: 32072)
Started DELETE “/products/18/likes/18” for ::1 at 2022-02-06 11:48:28 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 18]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 6.3ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 23.8ms | Allocations: 17371)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.0ms | Allocations: 30905)
Completed 200 OK in 41ms (Views: 34.2ms | ActiveRecord: 4.7ms | Allocations: 32043)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:48:29 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:48:29.543593"], ["updated_at", "2022-02-06 16:48:29.543593"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.5ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 17388)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 30922)
Completed 200 OK in 39ms (Views: 32.6ms | ActiveRecord: 4.3ms | Allocations: 32060)
Started DELETE “/products/18/likes/19” for ::1 at 2022-02-06 11:48:30 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"19"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 19], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 19]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.4ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:48:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:40
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:88
Rendered products/show.html.erb within layouts/application (Duration: 23.5ms | Allocations: 17368)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 30902)
Completed 200 OK in 41ms (Views: 33.9ms | ActiveRecord: 4.8ms | Allocations: 32040)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 25.8ms | Allocations: 18406)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 41.8ms | Allocations: 32976)
Completed 200 OK in 49ms (Views: 39.8ms | ActiveRecord: 5.2ms | Allocations: 34914)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:20 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:20.873127"], ["updated_at", "2022-02-06 16:49:20.873127"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 18ms (ActiveRecord: 6.9ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (10.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (10.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (12.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 70.3ms | Allocations: 17410)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 86.1ms | Allocations: 30950)
Completed 200 OK in 97ms (Views: 56.6ms | ActiveRecord: 36.5ms | Allocations: 32089)
Started DELETE “/products/18/likes/20” for ::1 at 2022-02-06 11:49:23 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"20"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 20], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 20]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.9ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 23.9ms | Allocations: 17373)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 30907)
Completed 200 OK in 41ms (Views: 34.8ms | ActiveRecord: 4.7ms | Allocations: 32045)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:25 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:25.288695"], ["updated_at", "2022-02-06 16:49:25.288695"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 20ms (ActiveRecord: 6.5ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 17417)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 30958)
Completed 200 OK in 46ms (Views: 37.8ms | ActiveRecord: 6.0ms | Allocations: 32097)
Started DELETE “/products/18/likes/21” for ::1 at 2022-02-06 11:49:26 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"21"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 21], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 21]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.0ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 17377)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.2ms | Allocations: 30917)
Completed 200 OK in 42ms (Views: 35.3ms | ActiveRecord: 4.9ms | Allocations: 32056)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:27 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.4ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:27.303756"], ["updated_at", "2022-02-06 16:49:27.303756"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.8ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 26.9ms | Allocations: 17394)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.8ms | Allocations: 30928)
Completed 200 OK in 44ms (Views: 37.1ms | ActiveRecord: 5.6ms | Allocations: 32066)
Started DELETE “/products/18/likes/22” for ::1 at 2022-02-06 11:49:29 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"22"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 22], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 22]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.6ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 25.9ms | Allocations: 17372)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.1ms | Allocations: 30906)
Completed 200 OK in 45ms (Views: 37.2ms | ActiveRecord: 5.1ms | Allocations: 32044)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:32 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:32.300983"], ["updated_at", "2022-02-06 16:49:32.300983"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.9ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 24.5ms | Allocations: 17392)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 30926)
Completed 200 OK in 44ms (Views: 36.8ms | ActiveRecord: 4.8ms | Allocations: 32064)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 28.9ms | Allocations: 18424)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.5ms | Allocations: 32994)
Completed 200 OK in 52ms (Views: 43.5ms | ActiveRecord: 5.3ms | Allocations: 34932)
Started DELETE “/products/18/likes/23” for ::1 at 2022-02-06 11:49:45 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"23"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 23], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 23]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 6.1ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 27.2ms | Allocations: 17389)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.9ms | Allocations: 30929)
Completed 200 OK in 45ms (Views: 38.1ms | ActiveRecord: 4.9ms | Allocations: 32068)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:47 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:47.954303"], ["updated_at", "2022-02-06 16:49:47.954303"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.1ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 17394)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 30928)
Completed 200 OK in 44ms (Views: 37.5ms | ActiveRecord: 4.8ms | Allocations: 32066)
Started DELETE “/products/18/likes/24” for ::1 at 2022-02-06 11:49:50 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"24"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 24], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 24]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.7ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 17397)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 30938)
Completed 200 OK in 43ms (Views: 36.9ms | ActiveRecord: 4.5ms | Allocations: 32077)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:52 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:52.021728"], ["updated_at", "2022-02-06 16:49:52.021728"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 18ms (ActiveRecord: 7.0ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (1.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 33.8ms | Allocations: 17397)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.6ms | Allocations: 30937)
Completed 200 OK in 56ms (Views: 45.5ms | ActiveRecord: 6.7ms | Allocations: 32076)
Started DELETE “/products/18/likes/25” for ::1 at 2022-02-06 11:49:53 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"25"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 25], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 25]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.3ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 17374)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 30908)
Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 5.0ms | Allocations: 32046)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:49:54 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:49:54.489870"], ["updated_at", "2022-02-06 16:49:54.489870"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.4ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
Rendered products/show.html.erb within layouts/application (Duration: 23.9ms | Allocations: 17392)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.7ms | Allocations: 30926)
Completed 200 OK in 41ms (Views: 33.6ms | ActiveRecord: 5.1ms | Allocations: 32064)
Started DELETE “/products/18/likes/26” for ::1 at 2022-02-06 11:49:54 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"26"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 26], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 26]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.5ms | Allocations: 5424)
Started GET “/products/18” for ::1 at 2022-02-06 11:49:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 27.3ms | Allocations: 17372)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 30906)
Completed 200 OK in 47ms (Views: 38.8ms | ActiveRecord: 5.6ms | Allocations: 32044)
Started GET “/products/18” for ::1 at 2022-02-06 11:50:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 27.6ms | Allocations: 18405)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 46.7ms | Allocations: 32975)
Completed 200 OK in 54ms (Views: 44.7ms | ActiveRecord: 5.2ms | Allocations: 34913)
Started GET “/products/18” for ::1 at 2022-02-06 11:50:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:18
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:41
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:89
Rendered products/show.html.erb within layouts/application (Duration: 27.6ms | Allocations: 18404)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.1ms | Allocations: 32972)
Completed 200 OK in 50ms (Views: 41.6ms | ActiveRecord: 5.1ms | Allocations: 34904)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:11 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 28.0ms | Allocations: 18417)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 32985)
Completed 200 OK in 51ms (Views: 42.5ms | ActiveRecord: 4.9ms | Allocations: 34917)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:51:14 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:51:14.955779"], ["updated_at", "2022-02-06 16:51:14.955779"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.6ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 31.2ms | Allocations: 17436)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.1ms | Allocations: 30983)
Completed 200 OK in 49ms (Views: 41.2ms | ActiveRecord: 6.1ms | Allocations: 32123)
Started DELETE “/products/18/likes/27” for ::1 at 2022-02-06 11:51:16 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"27"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 27], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 27]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.6ms | Allocations: 5403)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 25.6ms | Allocations: 17378)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 30918)
Completed 200 OK in 43ms (Views: 36.0ms | ActiveRecord: 5.1ms | Allocations: 32057)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:51:16 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:51:16.875245"], ["updated_at", "2022-02-06 16:51:16.875245"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 17ms (ActiveRecord: 6.5ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 23.3ms | Allocations: 17394)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 30928)
Completed 200 OK in 41ms (Views: 33.6ms | ActiveRecord: 4.8ms | Allocations: 32066)
Started DELETE “/products/18/likes/28” for ::1 at 2022-02-06 11:51:17 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"28"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 28], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 28]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 14ms (ActiveRecord: 5.5ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 25.7ms | Allocations: 17372)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 61.5ms | Allocations: 30906)
Completed 200 OK in 64ms (Views: 57.2ms | ActiveRecord: 5.3ms | Allocations: 32044)
Started POST “/products/18/likes” for ::1 at 2022-02-06 11:51:17 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 1], ["created_at", "2022-02-06 16:51:18.008063"], ["updated_at", "2022-02-06 16:51:18.008063"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 16ms (ActiveRecord: 6.3ms | Allocations: 6378)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 23.9ms | Allocations: 17392)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 30929)
Completed 200 OK in 43ms (Views: 34.4ms | ActiveRecord: 5.1ms | Allocations: 32067)
Started DELETE “/products/18/likes/29” for ::1 at 2022-02-06 11:51:18 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 29]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 15ms (ActiveRecord: 5.7ms | Allocations: 5400)
Started GET “/products/18” for ::1 at 2022-02-06 11:51:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 27.9ms | Allocations: 17372)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 30906)
Completed 200 OK in 46ms (Views: 38.7ms | ActiveRecord: 5.2ms | Allocations: 32044)
Started GET “/products” for ::1 at 2022-02-06 11:51:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 [1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 93.3ms | Allocations: 48802)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 109.6ms | Allocations: 63376)
Completed 200 OK in 112ms (Views: 79.3ms | ActiveRecord: 30.7ms | Allocations: 64111)
Started GET “/products” for ::1 at 2022-02-06 11:52:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (4.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 148.6ms | Allocations: 39464)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.2ms | Allocations: 2233) Rendered shared/_flashes.html.erb (Duration: 1.2ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 175.9ms | Allocations: 55069)
Completed 200 OK in 182ms (Views: 131.3ms | ActiveRecord: 47.2ms | Allocations: 56477)
Started GET “/products” for ::1 at 2022-02-06 11:52:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (3.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 136.9ms | Allocations: 39457)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 158.8ms | Allocations: 55055)
Completed 200 OK in 164ms (Views: 112.3ms | ActiveRecord: 48.9ms | Allocations: 56456)
Started GET “/products” for ::1 at 2022-02-06 11:53:06 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 81.8ms | Allocations: 39460)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 106.1ms | Allocations: 55059)
Completed 200 OK in 110ms (Views: 76.3ms | ActiveRecord: 31.9ms | Allocations: 56460)
Started GET “/products” for ::1 at 2022-02-06 11:53:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 83.4ms | Allocations: 39452)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 102.4ms | Allocations: 55050)
Completed 200 OK in 107ms (Views: 74.9ms | ActiveRecord: 29.7ms | Allocations: 56452)
Started GET “/products” for ::1 at 2022-02-06 11:53:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 81.5ms | Allocations: 39453)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 104.5ms | Allocations: 55051)
Completed 200 OK in 110ms (Views: 75.6ms | ActiveRecord: 31.6ms | Allocations: 56452)
Started GET “/products” for ::1 at 2022-02-06 11:54:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 116.3ms | Allocations: 39455)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 9.1ms | Allocations: 2237) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 1762.6ms | Allocations: 146208)
Completed 200 OK in 1768ms (Views: 1731.4ms | ActiveRecord: 34.0ms | Allocations: 147610)
Started GET “/products” for ::1 at 2022-02-06 11:55:07 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 86.0ms | Allocations: 38988)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 1811) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1538.1ms | Allocations: 144254)
Completed 200 OK in 1541ms (Views: 1504.6ms | ActiveRecord: 34.1ms | Allocations: 144863)
Started GET “/products” for ::1 at 2022-02-06 11:55:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 81.1ms | Allocations: 38979)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 1428.9ms | Allocations: 144645)
Completed 200 OK in 1431ms (Views: 1398.6ms | ActiveRecord: 30.8ms | Allocations: 145252)
Started GET “/products” for ::1 at 2022-02-06 11:55:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 103.7ms | Allocations: 39462)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.1ms | Allocations: 2231) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 130.0ms | Allocations: 55062)
Completed 200 OK in 137ms (Views: 96.6ms | ActiveRecord: 36.7ms | Allocations: 56469)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 11:56:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 89.7ms | Allocations: 39871)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 106.6ms | Allocations: 54443)
Completed 200 OK in 110ms (Views: 72.6ms | ActiveRecord: 34.5ms | Allocations: 55039)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 122.0ms | Allocations: 22272)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 141.4ms | Allocations: 35814)
Completed 200 OK in 146ms (Views: 135.4ms | ActiveRecord: 8.3ms | Allocations: 37080)
Started POST “/products/14/likes” for ::1 at 2022-02-06 11:56:12 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.3ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 16:56:12.401504"], ["updated_at", "2022-02-06 16:56:12.401504"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 20ms (ActiveRecord: 7.7ms | Allocations: 6401)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:12 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 57.7ms | Allocations: 19091)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 73.8ms | Allocations: 32664)
Completed 200 OK in 78ms (Views: 67.7ms | ActiveRecord: 7.8ms | Allocations: 33804)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 1.9ms | Allocations: 2018)
Rendered layout layouts/application.html.erb (Duration: 2.2ms | Allocations: 2083)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.7ms | Allocations: 3994)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <div class=“product-edit-delete”>
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-description'>Tags: <%= @product.tag_list %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='mb-0'>
<%= @product.likes.count %>
<%= (@product.likes.count) == 1 ? ' Like' : ' Likes'%>
</p>
<% pre_like = @product.likes.find { |like| like.user_id == current_user.id} %>
<% if pre_like %>
<%= button_to <i class="far fa-thumbs-up" style='color: #157EFB'>, product_like_path(@product, pre_like),
method: :delete, class: 'btn btn-primary btn-like' %>
<% else %>
<%= button_to 'Like', product_likes_path(@product),
method: :post, class: 'btn btn-outline-primary btn-like' %>
<% end %>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= review.title %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.utc.localtime("-05:00").strftime("%h %d, %Y - %I:%M %p") %>
</span>
</h5>
<div class="card-body">
<% if current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-rating mt-2">
<% review.rating.times do %>
<i class="fas fa-star" style='color: #FFCE00'></i>
<% end %>
<% review.blank_stars.times do %>
<i class="far fa-star" style='color: #FFCE00'></i>
<% end %>
<div class='text-right'>
<p class='text-muted' style='font-size: 18px'>Autor:
<%= "#{review.user.first_name} #{review.user.last_name}" %>
</p>
</div>
</h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<hr> <div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<%= f.input :rating %>
<div class='text-right mt-5'>
<% if user_signed_in? %>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
</div>
<% end %>
<div class='text-right mt-5'>
<% if !user_signed_in? %>
<%= button_to "Create Review", new_user_session_path,
class: 'btn btn-outline-primary' %>
<% end %>
</div>
</div>
): 1: <div class=“product-edit-delete”> 2: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 3: <%= button_to “Remove product”, {:controller => :products, 4: :action => 'destroy', :id => @product.id }, :method => :delete, 5: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 6: </div> 7:
8: <div class='product-show-card'> 9: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 10: <div class='product-details'> 11: <p class='product-name'><%= @product.name %></p> 12: <p class='product-description'>Description: <%= @product.description %></p> 13: <p class='product-description'>Tags: <%= @product.tag_list %></p> 14: <p class='product-price'>Price: $ <%= @product.price %></p> 15: <hr> 16: <div class='product-stock-likes'> 17: <p class='product-stock'>Stock: <%= @product.stock %></p> 18: <p class='mb-0'> 19: <%= @product.likes.count %> 20: <%= (@product.likes.count) == 1 ? ' Like' : ' Likes'%> 21: </p> 22: <% pre_like = @product.likes.find { |like| like.user_id == current_user.id} %> 23: <% if pre_like %> 24: <%= button_to <i class=“far fa-thumbs-up” style='color: #157EFB'>, product_like_path(@product, pre_like), 25: method: :delete, class: 'btn btn-primary btn-like' %> 26: <% else %> 27: <%= button_to 'Like', product_likes_path(@product), 28: method: :post, class: 'btn btn-outline-primary btn-like' %> 29: <% end %> 30: </div> 31: <hr> 32: <div class='order-buy-form'> 33: <%= simple_form_for([ @product, @order ]) do |f| %> 34: <%= f.input :quantity, input_html: { value: 1 } %> 35: <div class='text-right mt-5'> 36: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 37: </div> 38: <% end %> 39: </div> 40: </div> 41: </div> 42:
43: <div class='reviews-show'> 44: <% if @product.reviews.blank? %> 45: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 46: <% else %> 47: <h2>Reviews</h2> 48: <% @product.reviews.order('created_at DESC').each do |review| %> 49: <div class=“card”> 50: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 51: <p><%= review.title %></p> 52: <span class='text-muted', style='font-size: 15px'> 53: <%= review.created_at.utc.localtime(“-05:00”).strftime(“%h %d, %Y - %I:%M %p”) %> 54: </span> 55: </h5> 56: <div class=“card-body”> 57: <% if current_user.admin == true %> 58: <%= link_to “Remove”, 59: review_path(review, :product_id => review.product), 60: method: :delete, 61: class: 'product-remove', 62: data: { confirm: “Are you sure?” } %> 63: <% end %> 64: <h5 class=“card-rating mt-2”> 65: <% review.rating.times do %> 66: <i class=“fas fa-star” style='color: #FFCE00'></i> 67: <% end %> 68: <% review.blank_stars.times do %> 69: <i class=“far fa-star” style='color: #FFCE00'></i> 70: <% end %> 71: <div class='text-right'> 72: <p class='text-muted' style='font-size: 18px'>Autor: 73: <%= “#{review.user.first_name} #{review.user.last_name}” %> 74: </p> 75: </div> 76: </h5> 77: <p class=“card-text”><p><%= review.content %></p></p> 78: </div> 79: </div> 80: <% end %> 81: <% end %> 82: </div> 83:
84: <hr> 85: <div class='review-form'> 86: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 87: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 88: <%= f.input :title %> 89: <%= f.input :content, as: :text %> 90: <%= f.input :rating %> 91: <div class='text-right mt-5'> 92: <% if user_signed_in? %> 93: <%= f.button :submit, class: 'btn btn-outline-primary' %> 94: <% end %> 95: </div> 96: <% end %> 97: <div class='text-right mt-5'> 98: <% if !user_signed_in? %> 99: <%= button_to “Create Review”, new_user_session_path, 100: class: 'btn btn-outline-primary' %> 101: <% end %> 102: </div> 103: </div>
app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected `class', expecting `do' or '{' or '(' app/views/products/show.html.erb:24: syntax error, unexpected local variable or method, expecting ')' app/views/products/show.html.erb:24: syntax error, unexpected ',' app/views/products/show.html.erb:24: syntax error, unexpected ',', expecting ')' Started GET “/products/14” for ::1 at 2022-02-06 11:56:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 33.4ms | Allocations: 20202)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1306) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 56.1ms | Allocations: 34817)
Completed 200 OK in 62ms (Views: 51.6ms | ActiveRecord: 7.4ms | Allocations: 36755)
Started DELETE “/products/14/likes/30” for ::1 at 2022-02-06 11:56:54 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"30"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 30]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 14ms (ActiveRecord: 5.6ms | Allocations: 5400)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.3ms | Allocations: 19076)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.3ms | Allocations: 32616)
Completed 200 OK in 49ms (Views: 39.5ms | ActiveRecord: 6.8ms | Allocations: 33755)
Started POST “/products/14/likes” for ::1 at 2022-02-06 11:56:55 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 16:56:55.273967"], ["updated_at", "2022-02-06 16:56:55.273967"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 18ms (ActiveRecord: 6.6ms | Allocations: 6378)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 28.7ms | Allocations: 19078)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.3ms | Allocations: 32612)
Completed 200 OK in 47ms (Views: 37.8ms | ActiveRecord: 6.7ms | Allocations: 33750)
Started DELETE “/products/14/likes/31” for ::1 at 2022-02-06 11:56:56 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"31"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 31], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 31]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 15ms (ActiveRecord: 5.9ms | Allocations: 5400)
Started GET “/products/14” for ::1 at 2022-02-06 11:56:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.7ms | Allocations: 19041)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.7ms | Allocations: 32575)
Completed 200 OK in 49ms (Views: 39.7ms | ActiveRecord: 7.1ms | Allocations: 33713)
Started GET “/products/14” for ::1 at 2022-02-06 11:57:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.4ms | Allocations: 19550)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 48.4ms | Allocations: 34118)
Completed 200 OK in 55ms (Views: 44.8ms | ActiveRecord: 7.0ms | Allocations: 36056)
Started GET “/products/14” for ::1 at 2022-02-06 11:57:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 33.0ms | Allocations: 20090)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 51.4ms | Allocations: 34658)
Completed 200 OK in 58ms (Views: 46.8ms | ActiveRecord: 7.5ms | Allocations: 36590)
Started GET “/products/14” for ::1 at 2022-02-06 11:57:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 37.8ms | Allocations: 20092)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 56.8ms | Allocations: 34660)
Completed 200 OK in 63ms (Views: 51.0ms | ActiveRecord: 9.0ms | Allocations: 36592)
Started GET “/products/14” for ::1 at 2022-02-06 11:57:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 32.0ms | Allocations: 20086)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 49.0ms | Allocations: 34654)
Completed 200 OK in 55ms (Views: 45.0ms | ActiveRecord: 6.6ms | Allocations: 36586)
Started GET “/products/14” for ::1 at 2022-02-06 11:58:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 31.6ms | Allocations: 20094)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 48.6ms | Allocations: 34663)
Completed 200 OK in 59ms (Views: 45.2ms | ActiveRecord: 7.1ms | Allocations: 36596)
Started GET “/products/14” for ::1 at 2022-02-06 11:58:15 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 32.6ms | Allocations: 20110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 48.9ms | Allocations: 34718)
Completed 200 OK in 56ms (Views: 45.8ms | ActiveRecord: 6.8ms | Allocations: 36657)
Started POST “/products/14/likes” for ::1 at 2022-02-06 11:58:17 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 16:58:17.278405"], ["updated_at", "2022-02-06 16:58:17.278405"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 17ms (ActiveRecord: 7.0ms | Allocations: 6378)
Started GET “/products/14” for ::1 at 2022-02-06 11:58:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 31.3ms | Allocations: 19100)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 32640)
Completed 200 OK in 49ms (Views: 39.9ms | ActiveRecord: 7.0ms | Allocations: 33779)
Started DELETE “/products/14/likes/32” for ::1 at 2022-02-06 11:58:19 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"32"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 32], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 32]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 15ms (ActiveRecord: 6.0ms | Allocations: 5400)
Started GET “/products/14” for ::1 at 2022-02-06 11:58:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 19042)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.9ms | Allocations: 32576)
Completed 200 OK in 48ms (Views: 38.9ms | ActiveRecord: 6.9ms | Allocations: 33714)
Started POST “/products/14/likes” for ::1 at 2022-02-06 11:58:20 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 16:58:20.389175"], ["updated_at", "2022-02-06 16:58:20.389175"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 16ms (ActiveRecord: 6.2ms | Allocations: 6378)
Started GET “/products/14” for ::1 at 2022-02-06 11:58:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.2ms | Allocations: 19077)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.0ms | Allocations: 32611)
Completed 200 OK in 47ms (Views: 37.8ms | ActiveRecord: 7.2ms | Allocations: 33749)
Started GET “/products” for ::1 at 2022-02-06 11:58:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 79.5ms | Allocations: 40357)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1808) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 95.4ms | Allocations: 54931)
Completed 200 OK in 98ms (Views: 65.3ms | ActiveRecord: 30.5ms | Allocations: 55666)
Started GET “/products” for ::1 at 2022-02-06 12:00:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 110.8ms | Allocations: 51565)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 15.7ms | Allocations: 7654) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 139.8ms | Allocations: 71887)
Completed 200 OK in 151ms (Views: 86.8ms | ActiveRecord: 53.7ms | Allocations: 76301)
Started GET “/products” for ::1 at 2022-02-06 12:00:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 85.0ms | Allocations: 39001)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 109.9ms | Allocations: 53702)
Completed 200 OK in 112ms (Views: 78.2ms | ActiveRecord: 32.2ms | Allocations: 54311)
Started GET “/products” for ::1 at 2022-02-06 12:00:39 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 113.2ms | Allocations: 51344)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 17.0ms | Allocations: 7653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 145.2ms | Allocations: 71665)
Completed 200 OK in 153ms (Views: 92.3ms | ActiveRecord: 53.7ms | Allocations: 76080)
Started GET “/products” for ::1 at 2022-02-06 12:00:51 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 114.2ms | Allocations: 51285)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 16.2ms | Allocations: 7653) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 150.2ms | Allocations: 71606)
Completed 200 OK in 159ms (Views: 98.8ms | ActiveRecord: 52.2ms | Allocations: 76019)
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id"[0m [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mLike Load (0.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] [1m[36mProduct Load (5.1ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(count(products.product_id) as likes) AS count_count_products_product_id_as_likes, "products"."product_id" AS products_product_id FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id"[0m [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(products.product_id) as likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "products"."product_id" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m [1m[36mLike Load (0.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)[0m [["product_id", 1], ["product_id", 2], ["product_id", 3], ["product_id", 4], ["product_id", 5], ["product_id", 6], ["product_id", 7], ["product_id", 8], ["product_id", 9], ["product_id", 10], ["product_id", 11], ["product_id", 12], ["product_id", 13], ["product_id", 14], ["product_id", 18], ["product_id", 16]] [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY product_id[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY product_id /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY "products"."product_id"[0m [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "products"."product_id" AS products_product_id FROM "products" GROUP BY "products"."product_id"[0m [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (2.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" GROUP BY "likes"."product_id"[0m [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (2.3ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id" ORDER BY count_likes[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id" ORDER BY count_likes LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id" ORDER BY count_likes LIMIT $1[0m [["LIMIT", 1]] [1m[36mLike Load (0.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", nil]] [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" INNER JOIN "likes" ON "likes"."product_id" = "products"."id" GROUP BY "likes"."product_id" ORDER BY count_likes[0m [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" GROUP BY "likes"."product_id" ORDER BY count_likes[0m [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" GROUP BY "likes"."product_id" /* loading for inspect */ ORDER BY count_likes LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" GROUP BY "likes"."product_id" ORDER BY count_likes LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" GROUP BY "likes"."product_id" ORDER BY count_likes[0m [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT count(likes.user_id) as count_likes FROM "products" GROUP BY "likes"."product_id" /* loading for inspect */ ORDER BY count_likes LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (5.0ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY "likes"."product_id"[0m [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "likes"."product_id" AS likes_product_id FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" GROUP BY "likes"."product_id"[0m [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(likes.product_id) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT count(likes.product_id) as times FROM "products" GROUP BY "likes"."product_id" /* loading for inspect */ ORDER BY times DESC LIMIT $1[0m [["LIMIT", 11]]
Started GET “/products” for ::1 at 2022-02-06 12:38:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (6.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 111.9ms | Allocations: 49391)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 11.1ms | Allocations: 6850) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 144.7ms | Allocations: 68945)
Completed 200 OK in 175ms (Views: 106.6ms | ActiveRecord: 51.3ms | Allocations: 76478)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:38:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT count(likes.product_id) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m
↳ app/views/products/index.html.erb:25
Rendered products/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 2518)
Rendered layout layouts/application.html.erb (Duration: 4.2ms | Allocations: 2582)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.5ms | Allocations: 3177)
ActionView::Template::Error (PG::UndefinedTable: ERROR: missing FROM-clause entry for table “likes” LINE 1: SELECT count(likes.product_id) as times FROM “products” GROU…
^
):
22: </div> 23: 24: <div class='products-container mt-5'> 25: <% @products.each do |product| %> 26: <div class="card" style="width: 18rem;"> 27: <div class='product-tags'> 28: <% product.tags.map(&:name).each do |tag| %>
app/views/products/index.html.erb:25
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT count(likes.product_id) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT count(likes.product_id) as times FROM "products" GROUP BY "likes"."product_id" /* loading for inspect */ ORDER BY times DESC LIMIT $1[0m [["LIMIT", 11]] [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT count(*) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT count(*) as times FROM "products" GROUP BY "likes"."product_id" /* loading for inspect */ ORDER BY times DESC LIMIT $1[0m [["LIMIT", 11]]
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:42:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT count(*) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m
↳ app/views/products/index.html.erb:25
Rendered products/index.html.erb within layouts/application (Duration: 10.0ms | Allocations: 4372)
Rendered layout layouts/application.html.erb (Duration: 10.1ms | Allocations: 4436)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 6.0ms | Allocations: 8977)
ActionView::Template::Error (PG::UndefinedTable: ERROR: missing FROM-clause entry for table “likes” LINE 1: SELECT count(*) as times FROM “products” GROUP BY “likes”.“p…
^
):
22: </div> 23: 24: <div class='products-container mt-5'> 25: <% @products.each do |product| %> 26: <div class="card" style="width: 18rem;"> 27: <div class='product-tags'> 28: <% product.tags.map(&:name).each do |tag| %>
app/views/products/index.html.erb:25 Started GET “/products” for ::1 at 2022-02-06 12:42:57 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 118.0ms | Allocations: 49691)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 17.6ms | Allocations: 7675) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 161.1ms | Allocations: 70070)
Completed 200 OK in 163ms (Views: 107.3ms | ActiveRecord: 54.3ms | Allocations: 70679)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:42:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT count(*) as times FROM "products" GROUP BY "likes"."product_id" ORDER BY times DESC[0m
↳ app/views/products/index.html.erb:25
Rendered products/index.html.erb within layouts/application (Duration: 2.8ms | Allocations: 2516)
Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 2580)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 1.0ms | Allocations: 3167)
ActionView::Template::Error (PG::UndefinedTable: ERROR: missing FROM-clause entry for table “likes” LINE 1: SELECT count(*) as times FROM “products” GROUP BY “likes”.“p…
^
):
22: </div> 23: 24: <div class='products-container mt-5'> 25: <% @products.each do |product| %> 26: <div class="card" style="width: 18rem;"> 27: <div class='product-tags'> 28: <% product.tags.map(&:name).each do |tag| %>
app/views/products/index.html.erb:25
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" /* loading for inspect */ LIMIT $1[0m [["LIMIT", 11]]
Started GET “/products” for ::1 at 2022-02-06 12:44:09 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (9.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (6.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (5.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (3.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (7.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (6.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 234.4ms | Allocations: 39127)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 257.7ms | Allocations: 53730)
Completed 200 OK in 260ms (Views: 180.9ms | ActiveRecord: 77.5ms | Allocations: 54376)
[1m[36mProduct Load (3.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name LIKE 'Enor')[0m [1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (name LIKE 'Enor')[0m [1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."name" = $1[0m [["name", "Enormous Marble Hat"]] [1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] [1m[36mLike Load (0.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6480664933622480160)[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to RenameLikesToLikesNumberInProducts (20220206174759)
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.4ms)[0m [1m[35mALTER TABLE "products" RENAME COLUMN "likes" TO "likes_number"[0m
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220206174759"]]
[1m[36mTRANSACTION (2.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(6480664933622480160)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Started GET “/products/14” for ::1 at 2022-02-06 12:51:31 -0500
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 62.5ms | Allocations: 36033)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 83.1ms | Allocations: 49577)
Completed 200 OK in 127ms (Views: 72.9ms | ActiveRecord: 26.8ms | Allocations: 66205)
Started DELETE “/products/14/likes/33” for ::1 at 2022-02-06 12:51:33 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"33"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:28:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 33], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:36:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:32:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 33]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 16ms (ActiveRecord: 6.2ms | Allocations: 5542)
Started GET “/products/14” for ::1 at 2022-02-06 12:51:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 31.2ms | Allocations: 19043)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.4ms | Allocations: 32577)
Completed 200 OK in 51ms (Views: 41.4ms | ActiveRecord: 7.1ms | Allocations: 33715)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Started POST “/products/14/likes” for ::1 at 2022-02-06 12:51:46 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:28:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:32:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (3.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 17:51:46.451540"], ["updated_at", "2022-02-06 17:51:46.451540"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/likes_controller.rb:11:in `create'
Completed 500 Internal Server Error in 22ms (ActiveRecord: 9.9ms | Allocations: 8193)
ArgumentError (wrong number of arguments (given 1, expected 2)):
app/controllers/likes_controller.rb:12:in `create' Started GET “/products/14” for ::1 at 2022-02-06 12:52:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 64.9ms | Allocations: 38204)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 81.2ms | Allocations: 51786)
Completed 200 OK in 127ms (Views: 59.8ms | ActiveRecord: 38.8ms | Allocations: 68852)
Started DELETE “/products/14/likes/34” for ::1 at 2022-02-06 12:52:28 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"34"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:28:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 34], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:36:in `find_like'
[1m[36mLike Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:32:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 34]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 15ms (ActiveRecord: 6.1ms | Allocations: 5515)
Started GET “/products/14” for ::1 at 2022-02-06 12:52:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 28.9ms | Allocations: 19045)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 32579)
Completed 200 OK in 46ms (Views: 36.9ms | ActiveRecord: 7.1ms | Allocations: 33717)
Started POST “/products/14/likes” for ::1 at 2022-02-06 12:52:29 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:28:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:32:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 17:52:29.305993"], ["updated_at", "2022-02-06 17:52:29.305993"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:52:29.319675"], ["likes_number", 1], ["id", 14]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 33ms (ActiveRecord: 12.8ms | Allocations: 12632)
Started GET “/products/14” for ::1 at 2022-02-06 12:52:29 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 28.8ms | Allocations: 19080)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.2ms | Allocations: 32614)
Completed 200 OK in 45ms (Views: 36.7ms | ActiveRecord: 6.5ms | Allocations: 33752)
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] [1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Started DELETE “/products/14/likes/35” for ::1 at 2022-02-06 12:52:36 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"35"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:28:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 35], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:36:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:32:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 35]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 14ms (ActiveRecord: 5.3ms | Allocations: 5400)
Started GET “/products/14” for ::1 at 2022-02-06 12:52:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 19041)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.5ms | Allocations: 32575)
Completed 200 OK in 50ms (Views: 40.9ms | ActiveRecord: 6.9ms | Allocations: 33713)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Started POST “/products/14/likes” for ::1 at 2022-02-06 12:52:53 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 14], ["user_id", 1], ["created_at", "2022-02-06 17:52:53.165598"], ["updated_at", "2022-02-06 17:52:53.165598"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (2.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/14 Completed 302 Found in 80ms (ActiveRecord: 30.6ms | Allocations: 35563)
Started GET “/products/14” for ::1 at 2022-02-06 12:52:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 36.1ms | Allocations: 22031)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 35613)
Completed 200 OK in 75ms (Views: 46.4ms | ActiveRecord: 16.2ms | Allocations: 44728)
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Started DELETE “/products/14/likes/36” for ::1 at 2022-02-06 12:52:56 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"14", "id"=>"36"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 14], ["id", 36], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (2.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 36]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (2.2ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:52:56.635478"], ["likes_number", 0], ["id", 14]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/14 Completed 302 Found in 39ms (ActiveRecord: 15.6ms | Allocations: 10388)
Started GET “/products/14” for ::1 at 2022-02-06 12:52:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 33.2ms | Allocations: 19048)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.3ms | Allocations: 32582)
Completed 200 OK in 55ms (Views: 41.8ms | ActiveRecord: 8.9ms | Allocations: 33720)
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Started GET “/products” for ::1 at 2022-02-06 12:53:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 110.0ms | Allocations: 51291)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 22.8ms | Allocations: 7655) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 148.0ms | Allocations: 71650)
Completed 200 OK in 158ms (Views: 97.9ms | ActiveRecord: 51.5ms | Allocations: 76209)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:53:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 87.4ms | Allocations: 39880)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 104.1ms | Allocations: 54445)
Completed 200 OK in 106ms (Views: 71.9ms | ActiveRecord: 32.7ms | Allocations: 55041)
Started GET “/products/2” for ::1 at 2022-02-06 12:53:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 34.3ms | Allocations: 19120)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.0ms | Allocations: 32693)
Completed 200 OK in 89ms (Views: 53.0ms | ActiveRecord: 19.0ms | Allocations: 42602)
Started POST “/products/2/likes” for ::1 at 2022-02-06 12:53:32 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 1], ["product_id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 2], ["user_id", 1], ["created_at", "2022-02-06 17:53:32.157564"], ["updated_at", "2022-02-06 17:53:32.157564"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3126-GVF"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:53:32.170890"], ["likes_number", 1], ["id", 2]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/2 Completed 302 Found in 37ms (ActiveRecord: 14.3ms | Allocations: 14987)
Started GET “/products/2” for ::1 at 2022-02-06 12:53:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 24.7ms | Allocations: 17431)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.4ms | Allocations: 31003)
Completed 200 OK in 42ms (Views: 35.9ms | ActiveRecord: 4.5ms | Allocations: 32141)
Started GET “/products” for ::1 at 2022-02-06 12:53:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 80.6ms | Allocations: 39902)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 97.1ms | Allocations: 54466)
Completed 200 OK in 100ms (Views: 66.9ms | ActiveRecord: 30.7ms | Allocations: 55077)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:53:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 85.7ms | Allocations: 39879)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 102.5ms | Allocations: 54443)
Completed 200 OK in 105ms (Views: 71.2ms | ActiveRecord: 32.0ms | Allocations: 55039)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 12:53:40 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms | Allocations: 2622)
Started GET “/” for ::1 at 2022-02-06 12:53:40 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.7ms | Allocations: 119)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 968) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.7ms | Allocations: 13971)
Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms | Allocations: 15011)
Started GET “/products” for ::1 at 2022-02-06 12:53:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 92.8ms | Allocations: 39887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 107.1ms | Allocations: 53565)
Completed 200 OK in 109ms (Views: 73.3ms | ActiveRecord: 34.2ms | Allocations: 54174)
Started GET “/users/sign_in” for ::1 at 2022-02-06 12:53:43 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 668) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 19.6ms | Allocations: 10838)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 24663)
Completed 200 OK in 43ms (Views: 40.7ms | ActiveRecord: 0.0ms | Allocations: 26194)
Started GET “/products” for ::1 at 2022-02-06 12:53:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 170.1ms | Allocations: 39899)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 183.9ms | Allocations: 53615)
Completed 200 OK in 186ms (Views: 149.3ms | ActiveRecord: 35.1ms | Allocations: 54224)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:53:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 88.0ms | Allocations: 39866)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 108.7ms | Allocations: 53573)
Completed 200 OK in 111ms (Views: 76.9ms | ActiveRecord: 32.3ms | Allocations: 54165)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 12:53:49 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 91.5ms | Allocations: 39859)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 106.3ms | Allocations: 53528)
Completed 200 OK in 108ms (Views: 72.4ms | ActiveRecord: 34.2ms | Allocations: 54121)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 12:53:52 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 119.4ms | Allocations: 38996)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 148.4ms | Allocations: 52772)
Completed 200 OK in 152ms (Views: 112.1ms | ActiveRecord: 36.9ms | Allocations: 53384)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 12:53:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 92.6ms | Allocations: 39869)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 108.9ms | Allocations: 53538)
Completed 200 OK in 111ms (Views: 75.8ms | ActiveRecord: 33.5ms | Allocations: 54131)
Started GET “/users/sign_in” for ::1 at 2022-02-06 12:53:56 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.6ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.0ms | Allocations: 8796)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.1ms | Allocations: 23400)
Completed 200 OK in 46ms (Views: 44.8ms | ActiveRecord: 0.0ms | Allocations: 24004)
Started POST “/users/sign_in” for ::1 at 2022-02-06 12:54:01 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 231ms (ActiveRecord: 0.7ms | Allocations: 6025)
Started GET “/” for ::1 at 2022-02-06 12:54:01 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.2ms | Allocations: 14964)
Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.7ms | Allocations: 15360)
Started GET “/products” for ::1 at 2022-02-06 12:54:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 86.7ms | Allocations: 39894)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1807) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 103.8ms | Allocations: 54498)
Completed 200 OK in 106ms (Views: 71.9ms | ActiveRecord: 32.4ms | Allocations: 55110)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:54:25 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 93.9ms | Allocations: 39876)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 114.8ms | Allocations: 54478)
Completed 200 OK in 117ms (Views: 79.5ms | ActiveRecord: 35.8ms | Allocations: 55074)
Started GET “/products/2” for ::1 at 2022-02-06 12:54:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 33.5ms | Allocations: 18322)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.8ms | Allocations: 31856)
Completed 200 OK in 54ms (Views: 43.6ms | ActiveRecord: 6.6ms | Allocations: 32997)
Started POST “/products/2/likes” for ::1 at 2022-02-06 12:54:28 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 2], ["user_id", 2], ["created_at", "2022-02-06 17:54:28.411687"], ["updated_at", "2022-02-06 17:54:28.411687"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3126-GVF"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:54:28.424766"], ["likes_number", 2], ["id", 2]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/2 Completed 302 Found in 29ms (ActiveRecord: 12.5ms | Allocations: 11388)
Started GET “/products/2” for ::1 at 2022-02-06 12:54:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 23.7ms | Allocations: 17433)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 31002)
Completed 200 OK in 41ms (Views: 34.0ms | ActiveRecord: 4.7ms | Allocations: 32140)
Started DELETE “/products/2/likes/38” for ::1 at 2022-02-06 12:54:31 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2", "id"=>"38"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 2], ["id", 38], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 38]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3126-GVF"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:54:31.203390"], ["likes_number", 1], ["id", 2]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/2 Completed 302 Found in 26ms (ActiveRecord: 11.0ms | Allocations: 10385)
Started GET “/products/2” for ::1 at 2022-02-06 12:54:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 25.1ms | Allocations: 17401)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.0ms | Allocations: 30935)
Completed 200 OK in 43ms (Views: 36.1ms | ActiveRecord: 4.9ms | Allocations: 32074)
Started POST “/products/2/likes” for ::1 at 2022-02-06 12:54:32 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"2"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 2], ["user_id", 2], ["created_at", "2022-02-06 17:54:32.703233"], ["updated_at", "2022-02-06 17:54:32.703233"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3126-GVF"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:54:32.715520"], ["likes_number", 2], ["id", 2]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/2 Completed 302 Found in 32ms (ActiveRecord: 11.5ms | Allocations: 11363)
Started GET “/products/2” for ::1 at 2022-02-06 12:54:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 23.9ms | Allocations: 17449)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.5ms | Allocations: 31022)
Completed 200 OK in 41ms (Views: 33.8ms | ActiveRecord: 4.8ms | Allocations: 32161)
Started GET “/products” for ::1 at 2022-02-06 12:54:34 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 80.0ms | Allocations: 39894)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 95.6ms | Allocations: 54496)
Completed 200 OK in 98ms (Views: 65.6ms | ActiveRecord: 30.4ms | Allocations: 55108)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 12:54:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 90.6ms | Allocations: 39888)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 107.2ms | Allocations: 54490)
Completed 200 OK in 109ms (Views: 74.5ms | ActiveRecord: 33.1ms | Allocations: 55086)
Started GET “/tags/Fats” for ::1 at 2022-02-06 12:54:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 18.7ms | Allocations: 8155)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.2ms | Allocations: 22621)
Completed 200 OK in 47ms (Views: 34.4ms | ActiveRecord: 7.3ms | Allocations: 24386)
Started GET “/tags/Seeds” for ::1 at 2022-02-06 12:54:43 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 22.7ms | Allocations: 9547)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.9ms | Allocations: 24222)
Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 10.1ms | Allocations: 25418)
Started GET “/products” for ::1 at 2022-02-06 12:54:45 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 130.1ms | Allocations: 39890)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 148.8ms | Allocations: 54492)
Completed 200 OK in 151ms (Views: 114.6ms | ActiveRecord: 34.7ms | Allocations: 55103)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-06 12:57:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 16.4ms | Allocations: 6415)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.9ms | Allocations: 1806) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.8ms | Allocations: 21906)
Completed 200 OK in 52ms (Views: 41.9ms | ActiveRecord: 7.5ms | Allocations: 23103)
Started GET “/tags/Fats” for ::1 at 2022-02-06 12:57:19 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 25.7ms | Allocations: 7309)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.7ms | Allocations: 21873)
Completed 200 OK in 49ms (Views: 34.9ms | ActiveRecord: 10.6ms | Allocations: 23070)
Started GET “/tags/Beverages” for ::1 at 2022-02-06 12:57:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 15.8ms | Allocations: 6416)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.8ms | Allocations: 21907)
Completed 200 OK in 43ms (Views: 33.9ms | ActiveRecord: 7.1ms | Allocations: 23104)
Started GET “/tags/Cereals” for ::1 at 2022-02-06 12:57:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:25
[1m[36mTag Load (2.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:40
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:28:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:40
Rendered products/index.html.erb within layouts/application (Duration: 22.5ms | Allocations: 7307)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1804) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 21872)
Completed 200 OK in 50ms (Views: 34.7ms | ActiveRecord: 10.6ms | Allocations: 23068)
Started GET “/products” for ::1 at 2022-02-06 12:57:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 98.4ms | Allocations: 39889)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.6ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 115.6ms | Allocations: 54491)
Completed 200 OK in 118ms (Views: 79.9ms | ActiveRecord: 36.3ms | Allocations: 55103)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 36.8ms | Allocations: 18313)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.0ms | Allocations: 31885)
Completed 200 OK in 59ms (Views: 47.4ms | ActiveRecord: 6.9ms | Allocations: 33026)
Started POST “/products/16/likes” for ::1 at 2022-02-06 12:57:28 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.8ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 17:57:28.944956"], ["updated_at", "2022-02-06 17:57:28.944956"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:28.959077"], ["likes_number", 1], ["id", 16]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/16 Completed 302 Found in 32ms (ActiveRecord: 13.3ms | Allocations: 11387)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 25.7ms | Allocations: 17418)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 30952)
Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 5.0ms | Allocations: 32090)
Started DELETE “/products/16/likes/40” for ::1 at 2022-02-06 12:57:30 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16", "id"=>"40"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 16], ["id", 40], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 40]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:30.067464"], ["likes_number", 0], ["id", 16]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/16 Completed 302 Found in 26ms (ActiveRecord: 10.3ms | Allocations: 10386)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 17398)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.9ms | Allocations: 30956)
Completed 200 OK in 44ms (Views: 36.6ms | ActiveRecord: 5.3ms | Allocations: 32094)
Started POST “/products/16/likes” for ::1 at 2022-02-06 12:57:30 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 17:57:30.699458"], ["updated_at", "2022-02-06 17:57:30.699458"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:30.710316"], ["likes_number", 1], ["id", 16]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/16 Completed 302 Found in 28ms (ActiveRecord: 11.4ms | Allocations: 11364)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 22.7ms | Allocations: 17435)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 31008)
Completed 200 OK in 40ms (Views: 33.6ms | ActiveRecord: 4.5ms | Allocations: 32147)
Started DELETE “/products/16/likes/41” for ::1 at 2022-02-06 12:57:31 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16", "id"=>"41"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 16], ["id", 41], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 41]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:31.316317"], ["likes_number", 0], ["id", 16]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/16 Completed 302 Found in 26ms (ActiveRecord: 10.6ms | Allocations: 10386)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 24.7ms | Allocations: 17399)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.1ms | Allocations: 30971)
Completed 200 OK in 42ms (Views: 34.8ms | ActiveRecord: 5.2ms | Allocations: 32110)
Started POST “/products/16/likes” for ::1 at 2022-02-06 12:57:32 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 17:57:32.341403"], ["updated_at", "2022-02-06 17:57:32.341403"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:32.352878"], ["likes_number", 1], ["id", 16]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/16 Completed 302 Found in 27ms (ActiveRecord: 11.2ms | Allocations: 11364)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
Rendered products/show.html.erb within layouts/application (Duration: 25.4ms | Allocations: 17419)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.3ms | Allocations: 30953)
Completed 200 OK in 43ms (Views: 35.4ms | ActiveRecord: 5.0ms | Allocations: 32091)
Started DELETE “/products/16/likes/42” for ::1 at 2022-02-06 12:57:33 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16", "id"=>"42"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 16], ["id", 42], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 42]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 17:57:33.351085"], ["likes_number", 0], ["id", 16]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/16 Completed 302 Found in 25ms (ActiveRecord: 10.3ms | Allocations: 10386)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:33 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:92
Rendered products/show.html.erb within layouts/application (Duration: 26.2ms | Allocations: 17400)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.3ms | Allocations: 30972)
Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 5.4ms | Allocations: 32110)
Started POST “/products/16/reviews” for ::1 at 2022-02-06 12:57:42 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qweqwe", "rating"=>"6"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 5567)
Rendered layout layouts/application.html.erb (Duration: 11.6ms | Allocations: 5631)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 4.4ms | Allocations: 9935)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
30: </div>
31: <hr>
32: <div class='order-buy-form'>
33: <%= simple_form_for([ @product, @order ]) do |f| %>
34: <%= f.input :quantity, input_html: { value: 1 } %>
35: <div class='text-right mt-5'>
36: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:33 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/16/reviews” for ::1 at 2022-02-06 12:57:44 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"qwe", "content"=>"qweqwe", "rating"=>"3"}, "commit"=>"Create Review", "product_id"=>"16"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "qwe"], ["content", "qweqwe"], ["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 17:57:44.666410"], ["updated_at", "2022-02-06 17:57:44.666410"], ["rating", 3]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/16 Completed 200 OK in 14ms (ActiveRecord: 5.1ms | Allocations: 4437)
Started GET “/products/16” for ::1 at 2022-02-06 12:57:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (2.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (2.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (2.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 42.8ms | Allocations: 22086)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 60.0ms | Allocations: 35793)
Completed 200 OK in 64ms (Views: 49.5ms | ActiveRecord: 11.8ms | Allocations: 36935)
Started GET “/orders” for ::1 at 2022-02-06 12:58:21 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 1245)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 1948) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 16818)
Completed 200 OK in 46ms (Views: 42.0ms | ActiveRecord: 2.9ms | Allocations: 17906)
Started GET “/products” for ::1 at 2022-02-06 12:58:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 100.8ms | Allocations: 39906)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1810) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 117.5ms | Allocations: 54518)
Completed 200 OK in 120ms (Views: 84.5ms | ActiveRecord: 33.6ms | Allocations: 55131)
Started GET “/products/14” for ::1 at 2022-02-06 12:58:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (2.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 41.1ms | Allocations: 19895)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.6ms | Allocations: 33429)
Completed 200 OK in 62ms (Views: 49.4ms | ActiveRecord: 9.7ms | Allocations: 34570)
Started POST “/products/14/orders” for ::1 at 2022-02-06 12:58:30 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"14"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 49], ["updated_at", "2022-02-06 17:58:30.793356"], ["id", 14]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (2.5ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 14], ["created_at", "2022-02-06 17:58:30.799277"], ["updated_at", "2022-02-06 17:58:30.799277"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 27ms (ActiveRecord: 11.2ms | Allocations: 9076)
Started GET “/orders” for ::1 at 2022-02-06 12:58:30 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 1966)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1828) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 25.6ms | Allocations: 16664)
Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 3.3ms | Allocations: 17072)
Started DELETE “/orders/2?order_id=2” for ::1 at 2022-02-06 12:58:35 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"2", "id"=>"2"}
[1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (1.1ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 2]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 12ms (ActiveRecord: 4.3ms | Allocations: 3206)
Started GET “/orders” for ::1 at 2022-02-06 12:58:35 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.6ms | Allocations: 1837) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 15581)
Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 1.9ms | Allocations: 15988)
Started GET “/products” for ::1 at 2022-02-06 12:58:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 93.3ms | Allocations: 39896)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1805) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 111.2ms | Allocations: 54498)
Completed 200 OK in 114ms (Views: 78.3ms | ActiveRecord: 33.4ms | Allocations: 55110)
Started GET “/products/14” for ::1 at 2022-02-06 12:58:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (2.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 39.6ms | Allocations: 19904)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.9ms | Allocations: 33439)
Completed 200 OK in 59ms (Views: 47.5ms | ActiveRecord: 9.6ms | Allocations: 34581)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 12:59:49 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 1925)
Started GET “/” for ::1 at 2022-02-06 12:59:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 954) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 15.6ms | Allocations: 13915)
Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms | Allocations: 14308)
Started GET “/products” for ::1 at 2022-02-06 12:59:50 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 96.0ms | Allocations: 39883)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 112.3ms | Allocations: 53553)
Completed 200 OK in 114ms (Views: 75.5ms | ActiveRecord: 37.2ms | Allocations: 54160)
Started GET “/products/14” for ::1 at 2022-02-06 12:59:52 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 24.8ms | Allocations: 11062)
Rendered layout layouts/application.html.erb (Duration: 25.0ms | Allocations: 11126)
Completed 500 Internal Server Error in 30ms (ActiveRecord: 7.6ms | Allocations: 12232)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
54: </span> 55: </h5> 56: <div class="card-body"> 57: <% if current_user.admin == true %> 58: <%= link_to "Remove", 59: review_path(review, :product_id => review.product), 60: method: :delete,
app/views/products/show.html.erb:57 app/views/products/show.html.erb:48 Started GET “/products” for ::1 at 2022-02-06 12:59:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 74.9ms | Allocations: 39107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 89.5ms | Allocations: 52819)
Completed 200 OK in 91ms (Views: 62.2ms | ActiveRecord: 27.8ms | Allocations: 53461)
Started GET “/products/16” for ::1 at 2022-02-06 13:01:36 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 20.8ms | Allocations: 10191)
Rendered layout layouts/application.html.erb (Duration: 21.1ms | Allocations: 10255)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 6.6ms | Allocations: 11361)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
54: </span> 55: </h5> 56: <div class="card-body"> 57: <% if current_user.admin == true %> 58: <%= link_to "Remove", 59: review_path(review, :product_id => review.product), 60: method: :delete,
app/views/products/show.html.erb:57 app/views/products/show.html.erb:48 Started GET “/products” for ::1 at 2022-02-06 13:02:23 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 98.2ms | Allocations: 39142)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 119.9ms | Allocations: 52858)
Completed 200 OK in 123ms (Views: 84.7ms | ActiveRecord: 35.8ms | Allocations: 54208)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:02:25 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.2ms | Allocations: 8784)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 957) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 31.9ms | Allocations: 23300)
Completed 200 OK in 33ms (Views: 32.4ms | ActiveRecord: 0.0ms | Allocations: 23899)
Started POST “/users/sign_in” for ::1 at 2022-02-06 13:02:29 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 215ms (ActiveRecord: 1.0ms | Allocations: 2474)
Started GET “/” for ::1 at 2022-02-06 13:02:29 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2033) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 17.1ms | Allocations: 14989)
Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.7ms | Allocations: 15385)
Started GET “/products” for ::1 at 2022-02-06 13:02:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 83.1ms | Allocations: 39889)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1803) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 100.3ms | Allocations: 54453)
Completed 200 OK in 103ms (Views: 69.4ms | ActiveRecord: 31.3ms | Allocations: 55064)
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
Started GET “/products/16” for ::1 at 2022-02-06 13:03:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (3.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:57
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 47.2ms | Allocations: 19887)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 69.8ms | Allocations: 33525)
Completed 200 OK in 74ms (Views: 59.2ms | ActiveRecord: 11.7ms | Allocations: 34666)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 13:03:23 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms | Allocations: 1922)
Started GET “/” for ::1 at 2022-02-06 13:03:23 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 942) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 16.3ms | Allocations: 13862)
Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms | Allocations: 14252)
Started GET “/products” for ::1 at 2022-02-06 13:03:24 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 89.3ms | Allocations: 39876)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 104.2ms | Allocations: 53583)
Completed 200 OK in 106ms (Views: 73.2ms | ActiveRecord: 31.4ms | Allocations: 54191)
Started GET “/products/16” for ::1 at 2022-02-06 13:03:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 24.0ms | Allocations: 11075)
Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 11139)
Completed 500 Internal Server Error in 29ms (ActiveRecord: 6.9ms | Allocations: 12245)
ActionView::Template::Error (undefined method `admin' for nil:NilClass):
54: </span> 55: </h5> 56: <div class="card-body"> 57: <% if current_user.admin == true %> 58: <%= link_to "Remove", 59: review_path(review, :product_id => review.product), 60: method: :delete,
app/views/products/show.html.erb:57 app/views/products/show.html.erb:48 Started GET “/products/16” for ::1 at 2022-02-06 13:04:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 31.3ms | Allocations: 19174)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 52.0ms | Allocations: 33775)
Completed 200 OK in 59ms (Views: 49.5ms | ActiveRecord: 6.4ms | Allocations: 35708)
Started GET “/products/16” for ::1 at 2022-02-06 13:05:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:19
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:20
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:44
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:73
Rendered products/show.html.erb within layouts/application (Duration: 21.0ms | Allocations: 10734)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.5ms | Allocations: 1293) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 203) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 25299)
Completed 200 OK in 50ms (Views: 40.2ms | ActiveRecord: 6.1ms | Allocations: 27228)
Started GET “/products/16” for ::1 at 2022-02-06 13:06:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 19.4ms | Allocations: 10590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1295) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 25190)
Completed 200 OK in 43ms (Views: 33.5ms | ActiveRecord: 5.7ms | Allocations: 27125)
Started GET “/products” for ::1 at 2022-02-06 13:06:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 91.8ms | Allocations: 40359)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 108.5ms | Allocations: 54037)
Completed 200 OK in 111ms (Views: 77.6ms | ActiveRecord: 31.4ms | Allocations: 54770)
Started GET “/” for ::1 at 2022-02-06 13:06:41 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 14816)
Completed 200 OK in 26ms (Views: 24.4ms | ActiveRecord: 0.0ms | Allocations: 15781)
Started GET “/products” for ::1 at 2022-02-06 13:06:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:25 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:40 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:28:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:40 Rendered products/index.html.erb within layouts/application (Duration: 98.1ms | Allocations: 39882)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 113.3ms | Allocations: 53560)
Completed 200 OK in 116ms (Views: 78.2ms | ActiveRecord: 35.7ms | Allocations: 54168)
Started GET “/products” for ::1 at 2022-02-06 13:07:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 77.9ms | Allocations: 39553)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1293) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 97.4ms | Allocations: 54213)
Completed 200 OK in 102ms (Views: 71.4ms | ActiveRecord: 28.4ms | Allocations: 55612)
Started GET “/products/18” for ::1 at 2022-02-06 13:07:20 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 18.8ms | Allocations: 9826)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 23364)
Completed 200 OK in 38ms (Views: 29.8ms | ActiveRecord: 5.2ms | Allocations: 24627)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:07:22 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 288)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:07:22 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 528) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.9ms | Allocations: 9504)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 23270)
Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.0ms | Allocations: 24794)
Started GET “/products/18” for ::1 at 2022-02-06 13:07:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 17.2ms | Allocations: 7884)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 32.7ms | Allocations: 21457)
Completed 200 OK in 37ms (Views: 29.4ms | ActiveRecord: 4.6ms | Allocations: 22593)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:07:40 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 265)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:07:40 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 10.7ms | Allocations: 8771)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 26.9ms | Allocations: 22488)
Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.0ms | Allocations: 23094)
Started GET “/products” for ::1 at 2022-02-06 13:07:43 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 99.0ms | Allocations: 39934)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 113.8ms | Allocations: 53560)
Completed 200 OK in 116ms (Views: 79.2ms | ActiveRecord: 34.9ms | Allocations: 54167)
Started GET “/products/16” for ::1 at 2022-02-06 13:07:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 10379)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.6ms | Allocations: 23906)
Completed 200 OK in 43ms (Views: 33.1ms | ActiveRecord: 6.9ms | Allocations: 25043)
Started POST “/products/16/likes” for ::1 at 2022-02-06 13:08:11 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 288)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:08:11 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 9.5ms | Allocations: 8761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 27.2ms | Allocations: 22478)
Completed 200 OK in 28ms (Views: 27.6ms | ActiveRecord: 0.0ms | Allocations: 23081)
Started GET “/products” for ::1 at 2022-02-06 13:08:57 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 104.0ms | Allocations: 39927)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 118.8ms | Allocations: 53554)
Completed 200 OK in 122ms (Views: 81.9ms | ActiveRecord: 37.6ms | Allocations: 54162)
Started GET “/products/14” for ::1 at 2022-02-06 13:08:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (3.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (2.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (2.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 39.8ms | Allocations: 10383)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 60.0ms | Allocations: 23945)
Completed 200 OK in 65ms (Views: 48.1ms | ActiveRecord: 13.7ms | Allocations: 25082)
Started POST “/products/14/orders” for ::1 at 2022-02-06 13:09:00 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (2.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 48], ["updated_at", "2022-02-06 18:09:00.096743"], ["id", 14]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 21.5ms | Allocations: 8422)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 35.9ms | Allocations: 21982)
Completed 200 OK in 54ms (Views: 32.8ms | ActiveRecord: 11.4ms | Allocations: 28447)
Started POST “/products/14/orders” for ::1 at 2022-02-06 13:09:03 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"14"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 47], ["updated_at", "2022-02-06 18:09:03.027070"], ["id", 14]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 16.2ms | Allocations: 8391)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.5ms | Allocations: 21943)
Completed 200 OK in 47ms (Views: 26.5ms | ActiveRecord: 10.1ms | Allocations: 27932)
Started POST “/products/14/orders” for ::1 at 2022-02-06 13:09:04 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "5019-APJ"], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 46], ["updated_at", "2022-02-06 18:09:04.717400"], ["id", 14]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 8387)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.6ms | Allocations: 21900)
Completed 200 OK in 47ms (Views: 28.0ms | ActiveRecord: 10.3ms | Allocations: 27887)
Started GET “/orders” for ::1 at 2022-02-06 13:09:07 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 3.4ms | Allocations: 1229)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 23.8ms | Allocations: 15950)
Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.9ms | Allocations: 16476)
Started GET “/products” for ::1 at 2022-02-06 13:09:08 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 78.0ms | Allocations: 39937)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 92.0ms | Allocations: 53571)
Completed 200 OK in 95ms (Views: 63.9ms | ActiveRecord: 28.6ms | Allocations: 54179)
Started GET “/products/18” for ::1 at 2022-02-06 13:09:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 20.5ms | Allocations: 7864)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 67.6ms | Allocations: 22274)
Completed 200 OK in 73ms (Views: 64.0ms | ActiveRecord: 5.3ms | Allocations: 23411)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:09:11 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 30], ["updated_at", "2022-02-06 18:09:11.344248"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 11.5ms | Allocations: 6753)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 20266)
Completed 200 OK in 44ms (Views: 25.4ms | ActiveRecord: 8.2ms | Allocations: 26277)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:09:12 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 29], ["updated_at", "2022-02-06 18:09:12.280836"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 12.3ms | Allocations: 6749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 20264)
Completed 200 OK in 43ms (Views: 25.0ms | ActiveRecord: 8.9ms | Allocations: 26252)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:09:12 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 28], ["updated_at", "2022-02-06 18:09:12.907951"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 6753)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.5ms | Allocations: 20304)
Completed 200 OK in 43ms (Views: 26.3ms | ActiveRecord: 7.8ms | Allocations: 26292)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:09:13 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 27], ["updated_at", "2022-02-06 18:09:13.565565"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 13.2ms | Allocations: 6762)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 20314)
Completed 200 OK in 44ms (Views: 25.5ms | ActiveRecord: 8.8ms | Allocations: 26302)
Started GET “/orders” for ::1 at 2022-02-06 13:09:15 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 3.0ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 943) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 15569)
Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 1.0ms | Allocations: 15976)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:09:17 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 265)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:09:17 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 10.8ms | Allocations: 8780)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 25.1ms | Allocations: 22546)
Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.0ms | Allocations: 23152)
Started GET “/products/18/orders” for ::1 at 2022-02-06 13:09:19 -0500
ActionController::RoutingError (No route matches [GET] “/products/18/orders”):
Started GET “/products/18” for ::1 at 2022-02-06 13:09:26 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 14.4ms | Allocations: 7863)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 21390)
Completed 200 OK in 35ms (Views: 28.3ms | ActiveRecord: 4.3ms | Allocations: 22523)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:09:29 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 26], ["updated_at", "2022-02-06 18:09:29.356888"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 11.2ms | Allocations: 6749)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.1ms | Allocations: 20262)
Completed 200 OK in 42ms (Views: 23.8ms | ActiveRecord: 8.5ms | Allocations: 26249)
Started GET “/products/18” for ::1 at 2022-02-06 13:09:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 14.0ms | Allocations: 7860)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 21387)
Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 4.0ms | Allocations: 22521)
Started GET “/products/18” for ::1 at 2022-02-06 13:10:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
Rendered products/show.html.erb within layouts/application (Duration: 22.3ms | Allocations: 9012)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 46.1ms | Allocations: 23574)
Completed 200 OK in 55ms (Views: 44.1ms | ActiveRecord: 7.2ms | Allocations: 25508)
Started GET “/products/18” for ::1 at 2022-02-06 13:10:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 17.1ms | Allocations: 8942)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1294) Rendered shared/_flashes.html.erb (Duration: 0.4ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 35.3ms | Allocations: 23540)
Completed 200 OK in 41ms (Views: 33.7ms | ActiveRecord: 4.6ms | Allocations: 25469)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:10:33 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 25], ["updated_at", "2022-02-06 18:10:33.521356"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 12.8ms | Allocations: 6773)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 29.1ms | Allocations: 20332)
Completed 200 OK in 46ms (Views: 28.1ms | ActiveRecord: 8.6ms | Allocations: 26773)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:10:36 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 265)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:10:36 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.0ms | Allocations: 528) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.1ms | Allocations: 9506)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 26.4ms | Allocations: 23237)
Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.0ms | Allocations: 24761)
Started GET “/orders” for ::1 at 2022-02-06 13:11:35 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 4.1ms | Allocations: 1224)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 953) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 15089)
Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 1.0ms | Allocations: 15622)
Started GET “/products” for ::1 at 2022-02-06 13:11:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 89.6ms | Allocations: 40445)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 104.9ms | Allocations: 54079)
Completed 200 OK in 108ms (Views: 71.7ms | ActiveRecord: 33.7ms | Allocations: 54806)
Started GET “/tags/Fats” for ::1 at 2022-02-06 13:11:38 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 17.4ms | Allocations: 7176)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.9ms | Allocations: 20966)
Completed 200 OK in 39ms (Views: 28.7ms | ActiveRecord: 7.4ms | Allocations: 22159)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 13:11:39 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 85.5ms | Allocations: 39917)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 100.5ms | Allocations: 53543)
Completed 200 OK in 103ms (Views: 68.8ms | ActiveRecord: 32.1ms | Allocations: 54135)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-06 13:11:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 11]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 16.1ms | Allocations: 7177)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.4ms | Allocations: 20960)
Completed 200 OK in 37ms (Views: 28.4ms | ActiveRecord: 6.1ms | Allocations: 22152)
Started GET “/products” for ::1 at 2022-02-06 13:11:42 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 97.1ms | Allocations: 39924)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 111.6ms | Allocations: 53588)
Completed 200 OK in 114ms (Views: 77.1ms | ActiveRecord: 35.0ms | Allocations: 54196)
Started GET “/products?query=coc&commit=Search” for ::1 at 2022-02-06 13:11:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"coc", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (11.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'coc' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'coc' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:27
Rendered products/index.html.erb within layouts/application (Duration: 13.5ms | Allocations: 1194)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 892) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 14986)
Completed 200 OK in 32ms (Views: 17.3ms | ActiveRecord: 11.8ms | Allocations: 16020)
Started GET “/products?query=co&commit=Search” for ::1 at 2022-02-06 13:11:46 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"co", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'co' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 41.4ms | Allocations: 20278)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.6ms | Allocations: 33942)
Completed 200 OK in 58ms (Views: 39.6ms | ActiveRecord: 16.4ms | Allocations: 34935)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:11:48 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.2ms | Allocations: 8788)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.3ms | Allocations: 23405)
Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.0ms | Allocations: 24006)
Started POST “/users/sign_in” for ::1 at 2022-02-06 13:11:55 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 226ms (ActiveRecord: 1.0ms | Allocations: 3447)
Started GET “/” for ::1 at 2022-02-06 13:11:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.4ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2039) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.9ms | Allocations: 15041)
Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.8ms | Allocations: 16014)
Started GET “/products” for ::1 at 2022-02-06 13:11:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 84.5ms | Allocations: 40778)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 876) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 98.8ms | Allocations: 54420)
Completed 200 OK in 101ms (Views: 68.2ms | ActiveRecord: 31.1ms | Allocations: 55032)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 13:12:13 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 92.1ms | Allocations: 40770)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 107.4ms | Allocations: 54403)
Completed 200 OK in 110ms (Views: 74.7ms | ActiveRecord: 33.5ms | Allocations: 54999)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 13:12:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 95.7ms | Allocations: 40769)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 109.4ms | Allocations: 54441)
Completed 200 OK in 111ms (Views: 76.5ms | ActiveRecord: 33.4ms | Allocations: 55038)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 13:12:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 89.2ms | Allocations: 40765)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 103.9ms | Allocations: 54436)
Completed 200 OK in 106ms (Views: 72.0ms | ActiveRecord: 32.4ms | Allocations: 55033)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 13:12:19 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 89.9ms | Allocations: 40766)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 104.4ms | Allocations: 54399)
Completed 200 OK in 107ms (Views: 71.8ms | ActiveRecord: 33.3ms | Allocations: 54996)
Started GET “/tags/Soups” for ::1 at 2022-02-06 13:12:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 35.2ms | Allocations: 15222)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.9ms | Allocations: 28855)
Completed 200 OK in 55ms (Views: 37.8ms | ActiveRecord: 13.4ms | Allocations: 30051)
Started GET “/tags/Soups” for ::1 at 2022-02-06 13:12:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 31.0ms | Allocations: 14329)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 27962)
Completed 200 OK in 50ms (Views: 34.7ms | ActiveRecord: 12.1ms | Allocations: 29158)
Started GET “/tags/Seeds” for ::1 at 2022-02-06 13:12:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 26.5ms | Allocations: 10539)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.1ms | Allocations: 24172)
Completed 200 OK in 46ms (Views: 34.0ms | ActiveRecord: 9.5ms | Allocations: 25368)
Started GET “/users/edit” for ::1 at 2022-02-06 13:12:33 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 21.6ms | Allocations: 15290)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 42.8ms | Allocations: 29014)
Completed 200 OK in 50ms (Views: 45.4ms | ActiveRecord: 0.8ms | Allocations: 31513)
Started GET “/tags/Seeds” for ::1 at 2022-02-06 13:12:37 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 32.7ms | Allocations: 10541)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 52.0ms | Allocations: 24225)
Completed 200 OK in 56ms (Views: 41.6ms | ActiveRecord: 11.9ms | Allocations: 25422)
Started GET “/products” for ::1 at 2022-02-06 13:12:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 105.8ms | Allocations: 40774)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 121.0ms | Allocations: 54442)
Completed 200 OK in 124ms (Views: 81.2ms | ActiveRecord: 40.4ms | Allocations: 55054)
Started GET “/tags/Fats” for ::1 at 2022-02-06 13:12:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 20.0ms | Allocations: 8093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.1ms | Allocations: 21830)
Completed 200 OK in 40ms (Views: 29.5ms | ActiveRecord: 7.8ms | Allocations: 23026)
Started GET “/tags/Fats” for ::1 at 2022-02-06 13:12:45 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 17.4ms | Allocations: 7302)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.4ms | Allocations: 20935)
Completed 200 OK in 36ms (Views: 25.8ms | ActiveRecord: 7.2ms | Allocations: 22131)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 13:12:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 98.6ms | Allocations: 40768)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 112.7ms | Allocations: 54401)
Completed 200 OK in 115ms (Views: 77.5ms | ActiveRecord: 35.7ms | Allocations: 54997)
Started GET “/tags/Dairy” for ::1 at 2022-02-06 13:12:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 36.3ms | Allocations: 15218)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.0ms | Allocations: 28852)
Completed 200 OK in 55ms (Views: 38.4ms | ActiveRecord: 13.8ms | Allocations: 30048)
Started GET “/tags/Fats” for ::1 at 2022-02-06 13:13:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Fats"}
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 27.7ms | Allocations: 8199)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.6ms | Allocations: 21832)
Completed 200 OK in 51ms (Views: 36.5ms | ActiveRecord: 11.3ms | Allocations: 23028)
Started GET “/products” for ::1 at 2022-02-06 13:13:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 104.2ms | Allocations: 40795)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 119.3ms | Allocations: 54467)
Completed 200 OK in 122ms (Views: 82.9ms | ActiveRecord: 37.0ms | Allocations: 55079)
Started GET “/products” for ::1 at 2022-02-06 13:13:10 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 98.7ms | Allocations: 39885)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 113.5ms | Allocations: 53556)
Completed 200 OK in 116ms (Views: 76.3ms | ActiveRecord: 37.8ms | Allocations: 54168)
Started GET “/products/18” for ::1 at 2022-02-06 13:13:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
Rendered products/show.html.erb within layouts/application (Duration: 32.7ms | Allocations: 18107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.9ms | Allocations: 31641)
Completed 200 OK in 52ms (Views: 40.8ms | ActiveRecord: 7.5ms | Allocations: 32782)
Started POST “/products/18/reviews” for ::1 at 2022-02-06 13:13:32 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Title", "content"=>"Some description", "rating"=>"4"}, "commit"=>"Create Review", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Title"], ["content", "Some description"], ["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:13:32.790158"], ["updated_at", "2022-02-06 18:13:32.790158"], ["rating", 4]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/18 Completed 200 OK in 13ms (ActiveRecord: 4.4ms | Allocations: 4404)
Started GET “/products/18” for ::1 at 2022-02-06 13:13:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 43.5ms | Allocations: 19840)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.7ms | Allocations: 33374)
Completed 200 OK in 69ms (Views: 55.2ms | ActiveRecord: 10.8ms | Allocations: 34515)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:01 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.4ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:01.844395"], ["updated_at", "2022-02-06 18:14:01.844395"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:01.856076"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 27ms (ActiveRecord: 11.3ms | Allocations: 11386)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 32.7ms | Allocations: 18843)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.3ms | Allocations: 32377)
Completed 200 OK in 51ms (Views: 42.4ms | ActiveRecord: 6.8ms | Allocations: 33515)
Started DELETE “/products/18/likes/43” for ::1 at 2022-02-06 13:14:03 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"43"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 43], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 43]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:03.441894"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 26ms (ActiveRecord: 10.6ms | Allocations: 10384)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:03 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 29.2ms | Allocations: 18812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.5ms | Allocations: 32382)
Completed 200 OK in 51ms (Views: 42.6ms | ActiveRecord: 6.9ms | Allocations: 33521)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:04 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:04.362480"], ["updated_at", "2022-02-06 18:14:04.362480"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:04.374368"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 27ms (ActiveRecord: 11.5ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 25.5ms | Allocations: 18859)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 32433)
Completed 200 OK in 43ms (Views: 34.9ms | ActiveRecord: 5.7ms | Allocations: 33572)
Started DELETE “/products/18/likes/44” for ::1 at 2022-02-06 13:14:05 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"44"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 44], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 44]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:05.124927"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 24ms (ActiveRecord: 10.2ms | Allocations: 10384)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 28.4ms | Allocations: 18812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 32381)
Completed 200 OK in 47ms (Views: 38.4ms | ActiveRecord: 6.4ms | Allocations: 33520)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:05 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:05.893214"], ["updated_at", "2022-02-06 18:14:05.893214"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:05.905630"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 28ms (ActiveRecord: 12.4ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 26.8ms | Allocations: 18848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 32382)
Completed 200 OK in 45ms (Views: 36.6ms | ActiveRecord: 6.3ms | Allocations: 33520)
Started DELETE “/products/18/likes/45” for ::1 at 2022-02-06 13:14:06 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"45"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 45], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 45]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:06.623053"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 25ms (ActiveRecord: 10.5ms | Allocations: 10384)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 28.1ms | Allocations: 18812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.5ms | Allocations: 32346)
Completed 200 OK in 46ms (Views: 37.1ms | ActiveRecord: 6.5ms | Allocations: 33484)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:07 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:07.144261"], ["updated_at", "2022-02-06 18:14:07.144261"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:07.156936"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 28ms (ActiveRecord: 11.4ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 26.4ms | Allocations: 18842)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 32376)
Completed 200 OK in 45ms (Views: 36.5ms | ActiveRecord: 6.1ms | Allocations: 33514)
Started DELETE “/products/18/likes/46” for ::1 at 2022-02-06 13:14:07 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"46"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 46], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (5.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (1.0ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 46]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:07.630523"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 30ms (ActiveRecord: 15.4ms | Allocations: 10408)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 29.2ms | Allocations: 18829)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.2ms | Allocations: 32402)
Completed 200 OK in 47ms (Views: 38.4ms | ActiveRecord: 6.7ms | Allocations: 33541)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:08 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:08.031006"], ["updated_at", "2022-02-06 18:14:08.031006"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:08.042254"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 29ms (ActiveRecord: 11.8ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 29.7ms | Allocations: 18849)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.7ms | Allocations: 32445)
Completed 200 OK in 46ms (Views: 37.9ms | ActiveRecord: 6.7ms | Allocations: 33584)
Started DELETE “/products/18/likes/47” for ::1 at 2022-02-06 13:14:08 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"47"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 47], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 47]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:08.649000"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 24ms (ActiveRecord: 10.3ms | Allocations: 10384)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 29.2ms | Allocations: 18812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.1ms | Allocations: 32384)
Completed 200 OK in 48ms (Views: 39.8ms | ActiveRecord: 6.3ms | Allocations: 33523)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:09 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (0.9ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:09.259092"], ["updated_at", "2022-02-06 18:14:09.259092"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:09.270784"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 27ms (ActiveRecord: 11.0ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 29.6ms | Allocations: 18848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.8ms | Allocations: 32382)
Completed 200 OK in 47ms (Views: 38.2ms | ActiveRecord: 6.6ms | Allocations: 33520)
Started DELETE “/products/18/likes/48” for ::1 at 2022-02-06 13:14:10 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18", "id"=>"48"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 18], ["id", 48], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (1.1ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 48]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:10.443353"], ["likes_number", 0], ["id", 18]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/18 Completed 302 Found in 58ms (ActiveRecord: 13.8ms | Allocations: 10384)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 32349)
Completed 200 OK in 46ms (Views: 37.0ms | ActiveRecord: 6.7ms | Allocations: 33487)
Started POST “/products/18/likes” for ::1 at 2022-02-06 13:14:10 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"18"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 18:14:10.836929"], ["updated_at", "2022-02-06 18:14:10.836929"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:14:10.848813"], ["likes_number", 1], ["id", 18]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/18 Completed 302 Found in 28ms (ActiveRecord: 11.6ms | Allocations: 11362)
Started GET “/products/18” for ::1 at 2022-02-06 13:14:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (4.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 18]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 32.6ms | Allocations: 18854)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.0ms | Allocations: 32452)
Completed 200 OK in 51ms (Views: 38.3ms | ActiveRecord: 10.6ms | Allocations: 33591)
Started POST “/products/18/orders” for ::1 at 2022-02-06 13:14:13 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"18"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3107-ETR"], ["id", 18], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 24], ["updated_at", "2022-02-06 18:14:13.345642"], ["id", 18]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (1.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 18], ["created_at", "2022-02-06 18:14:13.350072"], ["updated_at", "2022-02-06 18:14:13.350072"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 22ms (ActiveRecord: 8.9ms | Allocations: 8164)
Started GET “/orders” for ::1 at 2022-02-06 13:14:13 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.2ms | Allocations: 1793)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 1837) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 22.7ms | Allocations: 16542)
Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 2.4ms | Allocations: 16952)
Started DELETE “/orders/3?order_id=3” for ::1 at 2022-02-06 13:14:18 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"3", "id"=>"3"}
[1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (1.2ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 3]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.5ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 13:14:18 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1837) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.4ms | Allocations: 15582)
Completed 200 OK in 21ms (Views: 19.0ms | ActiveRecord: 1.8ms | Allocations: 15989)
Started GET “/products” for ::1 at 2022-02-06 13:14:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 88.2ms | Allocations: 40782)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 102.7ms | Allocations: 54453)
Completed 200 OK in 105ms (Views: 70.8ms | ActiveRecord: 32.4ms | Allocations: 55065)
Started GET “/products/14” for ::1 at 2022-02-06 13:14:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 39.6ms | Allocations: 19710)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 56.1ms | Allocations: 33283)
Completed 200 OK in 61ms (Views: 48.3ms | ActiveRecord: 9.3ms | Allocations: 34425)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 13:14:26 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms | Allocations: 1924)
Started GET “/” for ::1 at 2022-02-06 13:14:26 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 13876)
Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.0ms | Allocations: 14268)
Started GET “/products” for ::1 at 2022-02-06 13:14:28 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 113.4ms | Allocations: 39921)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 129.4ms | Allocations: 53548)
Completed 200 OK in 132ms (Views: 95.9ms | ActiveRecord: 34.2ms | Allocations: 54155)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:14:31 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 23.3ms | Allocations: 9524)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 23450)
Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 0.0ms | Allocations: 24050)
Started POST “/users/sign_in” for ::1 at 2022-02-06 13:14:38 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 217ms (ActiveRecord: 1.0ms | Allocations: 2475)
Started GET “/” for ::1 at 2022-02-06 13:14:39 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 2033) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 14989)
Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.7ms | Allocations: 15384)
Started GET “/products” for ::1 at 2022-02-06 13:14:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 111.4ms | Allocations: 40802)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 126.2ms | Allocations: 54474)
Completed 200 OK in 129ms (Views: 93.8ms | ActiveRecord: 32.9ms | Allocations: 55086)
Started GET “/products/new” for ::1 at 2022-02-06 13:14:44 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 41.6ms | Allocations: 19785)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 57.3ms | Allocations: 33469)
Completed 200 OK in 62ms (Views: 55.9ms | ActiveRecord: 2.7ms | Allocations: 35269)
Started GET “/” for ::1 at 2022-02-06 13:14:55 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.7ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.5ms | Allocations: 15876)
Completed 200 OK in 35ms (Views: 33.1ms | ActiveRecord: 0.9ms | Allocations: 16269)
Started GET “/products” for ::1 at 2022-02-06 13:14:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 98.6ms | Allocations: 40799)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 114.2ms | Allocations: 54470)
Completed 200 OK in 117ms (Views: 77.2ms | ActiveRecord: 37.5ms | Allocations: 55083)
Started GET “/products/16” for ::1 at 2022-02-06 13:14:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 35.5ms | Allocations: 19983)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.4ms | Allocations: 33517)
Completed 200 OK in 55ms (Views: 43.5ms | ActiveRecord: 7.8ms | Allocations: 34658)
Started GET “/products/16” for ::1 at 2022-02-06 13:16:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
Rendered products/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 2039)
Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 2104)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.7ms | Allocations: 4015)
ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% if user_signed_in? && current_user.admin == true %>
<div class="product-edit-delete">
<%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %>
<%= button_to "Remove product", {:controller => :products,
:action => 'destroy', :id => @product.id }, :method => :delete,
class: 'btn btn-outline-danger', data: { confirm: "Are you sure?" } %>
</div>
<% end %>
<div class='product-show-card'>
<%= image_tag('coca_cola.png', class: 'product-show-image') %>
<div class='product-details'>
<p class='product-name'><%= @product.name %></p>
<p class='product-description'>Description: <%= @product.description %></p>
<p class='product-description'>Tags: <%= @product.tag_list %></p>
<p class='product-price'>Price: $ <%= @product.price %></p>
<hr>
<div class='product-stock-likes'>
<p class='product-stock'>Stock: <%= @product.stock %></p>
<p class='mb-0'>
<%= @product.likes.count %>
<%= (@product.likes.count) == 1 ? ' Like' : ' Likes'%>
</p>
<% pre_like = @product.likes.find { |like| like.user_id == current_user.id} %>
<% if pre_like %>
<%= button_to 'Unlike', product_like_path(@product, pre_like),
method: :delete, class: 'btn btn-primary btn-like' %>
<% else %>
<%= button_to 'Like', product_likes_path(@product),
method: :post, class: 'btn btn-outline-primary btn-like' %>
<% end %>
</div>
<hr>
<div class='order-buy-form'>
<%= simple_form_for([ @product, @order ]) do |f| %>
<%= f.input :quantity, input_html: { value: 1 } %>
<div class='text-right mt-5'>
<%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
</div>
<% end %>
</div>
</div>
</div>
<div class='reviews-show'>
<% if @product.reviews.blank? %>
<p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p>
<% else %>
<h2>Reviews</h2>
<% @product.reviews.order('created_at DESC').each do |review| %>
<div class="card">
<h5 class="card-header" style='background-color: hsla(0, 0, 0, 0.05)'>
<p><%= review.title %></p>
<span class='text-muted', style='font-size: 15px'>
<%= review.created_at.utc.localtime("-05:00").strftime("%h %d, %Y - %I:%M %p") %>
</span>
</h5>
<div class="card-body">
<% if user_signed_in? && current_user.admin == true %>
<%= link_to "Remove",
review_path(review, :product_id => review.product),
method: :delete,
class: 'product-remove',
data: { confirm: "Are you sure?" } %>
<% end %>
<h5 class="card-rating mt-2">
<% review.rating.times do %>
<i class="fas fa-star" style='color: #FFCE00'></i>
<% end %>
<% review.blank_stars.times do %>
<i class="far fa-star" style='color: #FFCE00'></i>
<% end %>
<div class='text-right'>
<p class='text-muted' style='font-size: 18px'>Autor:
<%= "#{review.user.first_name} #{review.user.last_name}" %>
</p>
</div>
</h5>
<p class="card-text"><p><%= review.content %></p></p>
</div>
</div>
<% end %>
<% end %>
</div>
<% if user_signed_in? %>
<hr>
<div class='review-form'>
<p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p>
<%= simple_form_for([ @product, @review ], remote: true) do |f| %>
<%= f.input :title %>
<%= f.input :content, as: :text %>
<%= f.input :rating %>
<div class='text-right mt-5'>
<%= f.button :submit, class: 'btn btn-outline-primary' %>
<% end %>
</div>
<% end %>
<div class='text-right mt-5'>
<% if !user_signed_in? %>
<%= button_to "Create Review", new_user_session_path,
class: 'btn btn-outline-primary' %>
<% end %>
</div>
</div>
<% end %> ): 1: <% if user_signed_in? && current_user.admin == true %> 2: <div class=“product-edit-delete”> 3: <%= link_to 'Edit product', edit_product_path(@product), class: 'btn btn-outline-primary' %> 4: <%= button_to “Remove product”, {:controller => :products, 5: :action => 'destroy', :id => @product.id }, :method => :delete, 6: class: 'btn btn-outline-danger', data: { confirm: “Are you sure?” } %> 7: </div> 8: <% end %> 9:
10: <div class='product-show-card'> 11: <%= image_tag('coca_cola.png', class: 'product-show-image') %> 12: <div class='product-details'> 13: <p class='product-name'><%= @product.name %></p> 14: <p class='product-description'>Description: <%= @product.description %></p> 15: <p class='product-description'>Tags: <%= @product.tag_list %></p> 16: <p class='product-price'>Price: $ <%= @product.price %></p> 17: <hr> 18: <div class='product-stock-likes'> 19: <p class='product-stock'>Stock: <%= @product.stock %></p> 20: <p class='mb-0'> 21: <%= @product.likes.count %> 22: <%= (@product.likes.count) == 1 ? ' Like' : ' Likes'%> 23: </p> 24: <% pre_like = @product.likes.find { |like| like.user_id == current_user.id} %> 25: <% if pre_like %> 26: <%= button_to 'Unlike', product_like_path(@product, pre_like), 27: method: :delete, class: 'btn btn-primary btn-like' %> 28: <% else %> 29: <%= button_to 'Like', product_likes_path(@product), 30: method: :post, class: 'btn btn-outline-primary btn-like' %> 31: <% end %> 32: </div> 33: <hr> 34: <div class='order-buy-form'> 35: <%= simple_form_for([ @product, @order ]) do |f| %> 36: <%= f.input :quantity, input_html: { value: 1 } %> 37: <div class='text-right mt-5'> 38: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %> 39: </div> 40: <% end %> 41: </div> 42: </div> 43: </div> 44:
45: <div class='reviews-show'> 46: <% if @product.reviews.blank? %> 47: <p class='text-right'>💬 Be the first to leave a review for <%= @product.name %></p> 48: <% else %> 49: <h2>Reviews</h2> 50: <% @product.reviews.order('created_at DESC').each do |review| %> 51: <div class=“card”> 52: <h5 class=“card-header” style='background-color: hsla(0, 0, 0, 0.05)'> 53: <p><%= review.title %></p> 54: <span class='text-muted', style='font-size: 15px'> 55: <%= review.created_at.utc.localtime(“-05:00”).strftime(“%h %d, %Y - %I:%M %p”) %> 56: </span> 57: </h5> 58: <div class=“card-body”> 59: <% if user_signed_in? && current_user.admin == true %> 60: <%= link_to “Remove”, 61: review_path(review, :product_id => review.product), 62: method: :delete, 63: class: 'product-remove', 64: data: { confirm: “Are you sure?” } %> 65: <% end %> 66: <h5 class=“card-rating mt-2”> 67: <% review.rating.times do %> 68: <i class=“fas fa-star” style='color: #FFCE00'></i> 69: <% end %> 70: <% review.blank_stars.times do %> 71: <i class=“far fa-star” style='color: #FFCE00'></i> 72: <% end %> 73: <div class='text-right'> 74: <p class='text-muted' style='font-size: 18px'>Autor: 75: <%= “#{review.user.first_name} #{review.user.last_name}” %> 76: </p> 77: </div> 78: </h5> 79: <p class=“card-text”><p><%= review.content %></p></p> 80: </div> 81: </div> 82: <% end %> 83: <% end %> 84: </div> 85:
86: <% if user_signed_in? %> 87: <hr> 88: <div class='review-form'> 89: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 90: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 91: <%= f.input :title %> 92: <%= f.input :content, as: :text %> 93: <%= f.input :rating %> 94: <div class='text-right mt-5'> 95: <%= f.button :submit, class: 'btn btn-outline-primary' %> 96: <% end %> 97: </div> 98: <% end %> 99: <div class='text-right mt-5'> 100: <% if !user_signed_in? %> 101: <%= button_to “Create Review”, new_user_session_path, 102: class: 'btn btn-outline-primary' %> 103: <% end %> 104: </div> 105: </div> 106: <% end %>
app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input app/views/products/show.html.erb:108: syntax error, unexpected `end', expecting end-of-input Started GET “/products/16” for ::1 at 2022-02-06 13:16:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 31.5ms | Allocations: 20156)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1302) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 50.4ms | Allocations: 34764)
Completed 200 OK in 57ms (Views: 47.0ms | ActiveRecord: 6.7ms | Allocations: 36701)
Started GET “/products/16” for ::1 at 2022-02-06 13:16:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 31.5ms | Allocations: 20069)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 47.5ms | Allocations: 34638)
Completed 200 OK in 53ms (Views: 43.1ms | ActiveRecord: 7.3ms | Allocations: 36571)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 13:16:48 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms | Allocations: 1922)
Started GET “/” for ::1 at 2022-02-06 13:16:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 13951)
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.0ms | Allocations: 14920)
Started GET “/products” for ::1 at 2022-02-06 13:16:50 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 96.3ms | Allocations: 40446)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 112.2ms | Allocations: 54118)
Completed 200 OK in 115ms (Views: 80.3ms | ActiveRecord: 32.5ms | Allocations: 54852)
Started GET “/products/16” for ::1 at 2022-02-06 13:16:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 25.8ms | Allocations: 10393)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.2ms | Allocations: 23920)
Completed 200 OK in 47ms (Views: 35.7ms | ActiveRecord: 8.8ms | Allocations: 25058)
Started POST “/products/16/likes” for ::1 at 2022-02-06 13:16:56 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 288)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:16:56 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 528) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.4ms | Allocations: 9505)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 23235)
Completed 200 OK in 34ms (Views: 32.9ms | ActiveRecord: 0.0ms | Allocations: 24758)
Started POST “/users/sign_in” for ::1 at 2022-02-06 13:17:08 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 219ms (ActiveRecord: 1.2ms | Allocations: 3425)
Started GET “/” for ::1 at 2022-02-06 13:17:09 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 2039) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.6ms | Allocations: 14963)
Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.7ms | Allocations: 15359)
Started GET “/products” for ::1 at 2022-02-06 13:18:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 109.1ms | Allocations: 40814)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 131.1ms | Allocations: 54494)
Completed 200 OK in 134ms (Views: 93.9ms | ActiveRecord: 38.1ms | Allocations: 55107)
Started GET “/products/16” for ::1 at 2022-02-06 13:18:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:24
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:46
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:50
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:75
Rendered products/show.html.erb within layouts/application (Duration: 35.0ms | Allocations: 19917)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.4ms | Allocations: 33523)
Completed 200 OK in 54ms (Views: 43.1ms | ActiveRecord: 8.6ms | Allocations: 34664)
Started GET “/products/16” for ::1 at 2022-02-06 13:19:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 34.8ms | Allocations: 20092)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 55.1ms | Allocations: 34662)
Completed 200 OK in 64ms (Views: 53.4ms | ActiveRecord: 7.0ms | Allocations: 36601)
Started GET “/products/16” for ::1 at 2022-02-06 13:19:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 31.6ms | Allocations: 19107)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.0ms | Allocations: 32685)
Completed 200 OK in 51ms (Views: 40.0ms | ActiveRecord: 7.5ms | Allocations: 33825)
Started GET “/products/16” for ::1 at 2022-02-06 13:19:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 30.1ms | Allocations: 19281)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 47.5ms | Allocations: 33852)
Completed 200 OK in 53ms (Views: 44.4ms | ActiveRecord: 5.8ms | Allocations: 35791)
Started GET “/products/16” for ::1 at 2022-02-06 13:20:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.1ms | Allocations: 19275)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 33843)
Completed 200 OK in 51ms (Views: 42.2ms | ActiveRecord: 6.0ms | Allocations: 35775)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 22.5ms | Allocations: 10770)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 1300) Rendered shared/_flashes.html.erb (Duration: 0.5ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 40.8ms | Allocations: 25338)
Completed 200 OK in 47ms (Views: 37.1ms | ActiveRecord: 6.8ms | Allocations: 27270)
Started DELETE “/reviews/4?product_id=16” for ::1 at 2022-02-06 13:21:17 -0500 Processing by ReviewsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16", "id"=>"4"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:16:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mReview Destroy (0.8ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 4]]
↳ app/controllers/reviews_controller.rb:17:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:17:in `destroy'
Redirected to localhost:3000/products/16 Completed 302 Found in 12ms (ActiveRecord: 4.3ms | Allocations: 3967)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:17 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 16.9ms | Allocations: 8080)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 31.5ms | Allocations: 21658)
Completed 200 OK in 35ms (Views: 28.2ms | ActiveRecord: 4.4ms | Allocations: 22797)
Started GET “/products/16/edit” for ::1 at 2022-02-06 13:21:22 -0500 Processing by ProductsController#edit as HTML
Parameters: {"id"=>"16"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
[1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:38:in `edit'
Rendering layout layouts/application.html.erb
Rendering products/edit.html.erb within layouts/application
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/edit.html.erb:11
[1m[35m (1.7ms)[0m [1m[34mSELECT "tags"."id" FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/edit.html.erb:11
Rendered products/edit.html.erb within layouts/application (Duration: 31.7ms | Allocations: 17881)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 912) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 46.6ms | Allocations: 31559)
Completed 200 OK in 55ms (Views: 43.1ms | ActiveRecord: 5.9ms | Allocations: 34302)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (2.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 22.9ms | Allocations: 8876)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.1ms | Allocations: 22538)
Completed 200 OK in 52ms (Views: 39.9ms | ActiveRecord: 8.8ms | Allocations: 23681)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 13:21:28 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms | Allocations: 1924)
Started GET “/” for ::1 at 2022-02-06 13:21:28 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.6ms | Allocations: 116)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.8ms | Allocations: 13953)
Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms | Allocations: 14922)
Started GET “/products” for ::1 at 2022-02-06 13:21:30 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 89.2ms | Allocations: 40439)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 103.9ms | Allocations: 54111)
Completed 200 OK in 107ms (Views: 72.2ms | ActiveRecord: 32.1ms | Allocations: 54845)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 7085)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.1ms | Allocations: 21493)
Completed 200 OK in 36ms (Views: 29.8ms | ActiveRecord: 3.5ms | Allocations: 22632)
Started GET “/products” for ::1 at 2022-02-06 13:21:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 92.7ms | Allocations: 39914)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 107.8ms | Allocations: 53540)
Completed 200 OK in 110ms (Views: 73.8ms | ActiveRecord: 34.4ms | Allocations: 54147)
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:21:40 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 2.0ms | Allocations: 1239) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.8ms | Allocations: 10238)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 34.2ms | Allocations: 24105)
Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.0ms | Allocations: 25623)
Started POST “/users/sign_in” for ::1 at 2022-02-06 13:21:45 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 226ms (ActiveRecord: 1.2ms | Allocations: 3450)
Started GET “/” for ::1 at 2022-02-06 13:21:45 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 2041) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.2ms | Allocations: 14998)
Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.7ms | Allocations: 15393)
Started GET “/products” for ::1 at 2022-02-06 13:21:47 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 87.2ms | Allocations: 40786)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 106.1ms | Allocations: 54467)
Completed 200 OK in 108ms (Views: 75.2ms | ActiveRecord: 31.3ms | Allocations: 55080)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:48 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 30.8ms | Allocations: 18110)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.5ms | Allocations: 31644)
Completed 200 OK in 51ms (Views: 41.4ms | ActiveRecord: 6.8ms | Allocations: 32785)
Started POST “/products/16/likes” for ::1 at 2022-02-06 13:21:54 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.3ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 18:21:54.501006"], ["updated_at", "2022-02-06 18:21:54.501006"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:21:54.513154"], ["likes_number", 1], ["id", 16]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/16 Completed 302 Found in 26ms (ActiveRecord: 10.5ms | Allocations: 11387)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 23.3ms | Allocations: 17228)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.1ms | Allocations: 30800)
Completed 200 OK in 40ms (Views: 33.7ms | ActiveRecord: 4.3ms | Allocations: 31939)
Started DELETE “/products/16/likes/50” for ::1 at 2022-02-06 13:21:55 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16", "id"=>"50"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 16], ["id", 50], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 50]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:21:55.370214"], ["likes_number", 0], ["id", 16]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/16 Completed 302 Found in 26ms (ActiveRecord: 10.9ms | Allocations: 10386)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 24.4ms | Allocations: 17201)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 873) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.8ms | Allocations: 30739)
Completed 200 OK in 43ms (Views: 36.0ms | ActiveRecord: 4.8ms | Allocations: 31877)
Started POST “/products/16/likes” for ::1 at 2022-02-06 13:21:57 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"16"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 2], ["product_id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 18:21:57.854057"], ["updated_at", "2022-02-06 18:21:57.854057"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 18:21:57.865321"], ["likes_number", 1], ["id", 16]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/16 Completed 302 Found in 29ms (ActiveRecord: 11.9ms | Allocations: 11364)
Started GET “/products/16” for ::1 at 2022-02-06 13:21:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 25.1ms | Allocations: 17228)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.5ms | Allocations: 30762)
Completed 200 OK in 43ms (Views: 36.4ms | ActiveRecord: 5.0ms | Allocations: 31901)
Started POST “/products/16/orders” for ::1 at 2022-02-06 13:21:58 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4856-XVT"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 40], ["updated_at", "2022-02-06 18:21:58.872491"], ["id", 16]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (1.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 16], ["created_at", "2022-02-06 18:21:58.876528"], ["updated_at", "2022-02-06 18:21:58.876528"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 24ms (ActiveRecord: 9.5ms | Allocations: 8166)
Started GET “/orders” for ::1 at 2022-02-06 13:21:58 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 2150)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 1837) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 24.1ms | Allocations: 16898)
Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 2.5ms | Allocations: 17878)
Started DELETE “/orders/4?order_id=4” for ::1 at 2022-02-06 13:22:01 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"4", "id"=>"4"}
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (3.2ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 4]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 15ms (ActiveRecord: 6.0ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 13:22:01 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 3.1ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1840) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 25.9ms | Allocations: 15584)
Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 2.0ms | Allocations: 15993)
Started GET “/products” for ::1 at 2022-02-06 13:22:02 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 86.7ms | Allocations: 40781)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 104.7ms | Allocations: 54461)
Completed 200 OK in 107ms (Views: 72.1ms | ActiveRecord: 33.1ms | Allocations: 55074)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 13:22:13 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms | Allocations: 1923)
Started GET “/” for ::1 at 2022-02-06 13:22:13 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 16.0ms | Allocations: 13876)
Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms | Allocations: 14268)
Started GET “/products” for ::1 at 2022-02-06 13:22:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 85.6ms | Allocations: 39914)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 101.0ms | Allocations: 53579)
Completed 200 OK in 103ms (Views: 71.2ms | ActiveRecord: 30.4ms | Allocations: 54187)
Started GET “/products/14” for ::1 at 2022-02-06 13:22:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 14]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 19.6ms | Allocations: 9494)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.0ms | Allocations: 23126)
Completed 200 OK in 39ms (Views: 31.1ms | ActiveRecord: 6.1ms | Allocations: 24263)
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]] [1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]] [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Started GET “/products” for ::1 at 2022-02-06 13:26:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (4.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (3.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (3.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (4.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 142.2ms | Allocations: 39924)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 178.3ms | Allocations: 53552)
Completed 200 OK in 181ms (Views: 118.4ms | ActiveRecord: 60.5ms | Allocations: 54160)
Started GET “/” for ::1 at 2022-02-06 13:26:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 945) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.9ms | Allocations: 13861)
Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.0ms | Allocations: 14249)
Started GET “/products” for ::1 at 2022-02-06 13:26:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 97.7ms | Allocations: 39925)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 111.8ms | Allocations: 53551)
Completed 200 OK in 114ms (Views: 76.1ms | ActiveRecord: 36.3ms | Allocations: 54158)
Started GET “/products?query=inc&commit=Search” for ::1 at 2022-02-06 13:27:02 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"inc", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'inc' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'inc' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3881)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 24.4ms | Allocations: 17545)
Completed 200 OK in 28ms (Views: 21.3ms | ActiveRecord: 3.6ms | Allocations: 18536)
Started GET “/products/1” for ::1 at 2022-02-06 13:27:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 18.0ms | Allocations: 7854)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 36.7ms | Allocations: 21490)
Completed 200 OK in 42ms (Views: 33.8ms | ActiveRecord: 4.8ms | Allocations: 22627)
Started GET “/products/1” for ::1 at 2022-02-06 13:27:05 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 12.1ms | Allocations: 7069)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.2ms | Allocations: 20596)
Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 3.4ms | Allocations: 21730)
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Started GET “/users/sign_in” for ::1 at 2022-02-06 13:27:35 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.6ms | Allocations: 8779)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 49.8ms | Allocations: 23392)
Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms | Allocations: 23994)
[1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (1.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "qwewew"], ["content", "asdasdasdasdsad"], ["product_id", 1], ["user_id", 2], ["created_at", "2022-02-06 18:27:59.942582"], ["updated_at", "2022-02-06 18:27:59.942582"], ["rating", 4]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
Started GET “/products?query=inc&commit=Search” for ::1 at 2022-02-06 13:28:05 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"inc", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'inc' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'inc' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 10.4ms | Allocations: 3881)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 17507)
Completed 200 OK in 30ms (Views: 23.2ms | ActiveRecord: 3.8ms | Allocations: 18497)
Started GET “/products/1” for ::1 at 2022-02-06 13:28:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 24.1ms | Allocations: 9510)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 23131)
Completed 200 OK in 46ms (Views: 35.9ms | ActiveRecord: 7.0ms | Allocations: 24268)
[1m[36mProduct Load (0.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "qwewew"], ["content", "asdasdasdasdsad"], ["product_id", 1], ["user_id", 2], ["created_at", "2022-02-06 18:30:04.473328"], ["updated_at", "2022-02-06 18:30:04.473328"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products/1” for ::1 at 2022-02-06 13:30:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 1]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 18.2ms | Allocations: 9330)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 22895)
Completed 200 OK in 41ms (Views: 33.3ms | ActiveRecord: 5.1ms | Allocations: 24030)
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 1]]
[1m[36mReview Destroy (0.7ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 6]]
[1m[36mReview Destroy (0.3ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 7]]
[1m[36mLike Load (0.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
[1m[36mTagging Load (0.7ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 1]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 2]]
[1m[36mProduct Destroy (1.2ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 3]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 3]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 5]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 6]]
[1m[36mProduct Destroy (0.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 4]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 4]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 7]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 8]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 5]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 5]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 9]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 10]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 6]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 6]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 11]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 12]]
[1m[36mProduct Destroy (0.8ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 7]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 13]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 14]]
[1m[36mProduct Destroy (1.0ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 8]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 8]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 15]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 16]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 9]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 9]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
[1m[36mTagging Destroy (0.5ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 17]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 18]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 10]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 10]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
[1m[36mTagging Destroy (0.4ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 19]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 20]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 10]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 11]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 11]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 21]]
[1m[36mTagging Destroy (0.4ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 22]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 11]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 12]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 23]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 24]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 12]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 13]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 13]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 25]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 26]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 13]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 18]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 18]]
[1m[36mReview Destroy (0.3ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 5]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
[1m[36mLike Destroy (0.6ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 49]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 35]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 36]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 18]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 2]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
[1m[36mLike Destroy (0.3ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 37]]
[1m[36mLike Destroy (0.2ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 39]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 3]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 4]]
[1m[36mProduct Destroy (0.4ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 16]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
[1m[36mLike Destroy (0.2ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 51]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 31]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 32]]
[1m[36mProduct Destroy (0.3ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 16]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 14]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 14]]
[1m[36mReview Destroy (0.3ms)[0m [1m[31mDELETE FROM "reviews" WHERE "reviews"."id" = $1[0m [["id", 1]]
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
[1m[36mTagging Load (0.1ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 27]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 28]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 14]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 1]]
[1m[36mUser Destroy (0.7ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 2]]
[1m[36mUser Destroy (0.7ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.8ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$dt6eJ8IlwG/NzOuvDBuqWeBakNebmEM2VDZy96le.ysw5js/Q14Iu"], ["created_at", "2022-02-06 18:31:17.379384"], ["updated_at", "2022-02-06 18:31:17.379384"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$IQp639oFKJl6raYGcYhPR.s5aiu88c7ToKNy4Te6Nz7jHXWWdWRgC"], ["created_at", "2022-02-06 18:31:17.610097"], ["updated_at", "2022-02-06 18:31:17.610097"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8805-CWY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8805-CWY"], ["name", "Heavy Duty Steel Bottle"], ["description", "Industrial, Sports & Tools"], ["price", 8.0], ["stock", 17], ["created_at", "2022-02-06 18:31:17.994331"], ["updated_at", "2022-02-06 18:31:17.994331"]]
[1m[36mTagging Create (2.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 26], ["created_at", "2022-02-06 18:31:17.996209"], ["updated_at", "2022-02-06 18:31:17.996209"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 26], ["created_at", "2022-02-06 18:31:17.999746"], ["updated_at", "2022-02-06 18:31:17.999746"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2293-USP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2293-USP"], ["name", "Sleek Linen Lamp"], ["description", "Electronics, Sports & Garden"], ["price", 15.0], ["stock", 44], ["created_at", "2022-02-06 18:31:18.013645"], ["updated_at", "2022-02-06 18:31:18.013645"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 27], ["created_at", "2022-02-06 18:31:18.015273"], ["updated_at", "2022-02-06 18:31:18.015273"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 27], ["created_at", "2022-02-06 18:31:18.017029"], ["updated_at", "2022-02-06 18:31:18.017029"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4253-LYD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4253-LYD"], ["name", "Lightweight Marble Computer"], ["description", "Toys & Electronics"], ["price", 8.0], ["stock", 36], ["created_at", "2022-02-06 18:31:18.028971"], ["updated_at", "2022-02-06 18:31:18.028971"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 28], ["created_at", "2022-02-06 18:31:18.030359"], ["updated_at", "2022-02-06 18:31:18.030359"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 28], ["created_at", "2022-02-06 18:31:18.031725"], ["updated_at", "2022-02-06 18:31:18.031725"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6539-FWR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6539-FWR"], ["name", "Incredible Rubber Plate"], ["description", "Outdoors & Books"], ["price", 2.0], ["stock", 47], ["created_at", "2022-02-06 18:31:18.043535"], ["updated_at", "2022-02-06 18:31:18.043535"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 29], ["created_at", "2022-02-06 18:31:18.044959"], ["updated_at", "2022-02-06 18:31:18.044959"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 29], ["created_at", "2022-02-06 18:31:18.046293"], ["updated_at", "2022-02-06 18:31:18.046293"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1152-EEN"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.5ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 26]]
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 26]]
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
[1m[36mTagging Load (0.5ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
[1m[36mTagging Destroy (0.4ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 51]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 52]]
[1m[36mProduct Destroy (1.2ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 26]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 27]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 27]]
[1m[36mLike Load (0.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 53]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 54]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 27]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 28]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 55]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 56]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 28]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 29]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 57]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 58]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 29]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 3]]
[1m[36mUser Destroy (0.8ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 4]]
[1m[36mUser Destroy (0.7ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$vBP9y9pDWKJe3q0Baya/LuTYEmHTG1dOddTKHUydNbJ3aMsZxENdG"], ["created_at", "2022-02-06 18:32:14.282225"], ["updated_at", "2022-02-06 18:32:14.282225"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$8x4/zHb42olV0egBO8qe/ut7mgM5H.anlZgkd3QqX33ThxyML1JA2"], ["created_at", "2022-02-06 18:32:14.497090"], ["updated_at", "2022-02-06 18:32:14.497090"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7638-KQC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7638-KQC"], ["name", "Intelligent Concrete Wallet"], ["description", "Shoes & Kids"], ["price", 8.0], ["stock", 12], ["created_at", "2022-02-06 18:32:14.825650"], ["updated_at", "2022-02-06 18:32:14.825650"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 30], ["created_at", "2022-02-06 18:32:14.827826"], ["updated_at", "2022-02-06 18:32:14.827826"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 30], ["created_at", "2022-02-06 18:32:14.829853"], ["updated_at", "2022-02-06 18:32:14.829853"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9741-FPH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9741-FPH"], ["name", "Ergonomic Paper Shirt"], ["description", "Music & Books"], ["price", 8.0], ["stock", 43], ["created_at", "2022-02-06 18:32:14.848894"], ["updated_at", "2022-02-06 18:32:14.848894"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 31], ["created_at", "2022-02-06 18:32:14.850740"], ["updated_at", "2022-02-06 18:32:14.850740"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 31], ["created_at", "2022-02-06 18:32:14.852517"], ["updated_at", "2022-02-06 18:32:14.852517"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5421-GGO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5421-GGO"], ["name", "Enormous Rubber Gloves"], ["description", "Beauty & Computers"], ["price", 9.0], ["stock", 30], ["created_at", "2022-02-06 18:32:14.864378"], ["updated_at", "2022-02-06 18:32:14.864378"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 32], ["created_at", "2022-02-06 18:32:14.865684"], ["updated_at", "2022-02-06 18:32:14.865684"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 32], ["created_at", "2022-02-06 18:32:14.867092"], ["updated_at", "2022-02-06 18:32:14.867092"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1684-NID"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1684-NID"], ["name", "Mediocre Paper Coat"], ["description", "Automotive, Garden & Jewelry"], ["price", 8.0], ["stock", 32], ["created_at", "2022-02-06 18:32:14.879044"], ["updated_at", "2022-02-06 18:32:14.879044"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 33], ["created_at", "2022-02-06 18:32:14.880575"], ["updated_at", "2022-02-06 18:32:14.880575"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 33], ["created_at", "2022-02-06 18:32:14.882035"], ["updated_at", "2022-02-06 18:32:14.882035"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6589-HTL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6589-HTL"], ["name", "Gorgeous Cotton Keyboard"], ["description", "Outdoors, Clothing & Beauty"], ["price", 2.0], ["stock", 17], ["created_at", "2022-02-06 18:32:14.893394"], ["updated_at", "2022-02-06 18:32:14.893394"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 34], ["created_at", "2022-02-06 18:32:14.894836"], ["updated_at", "2022-02-06 18:32:14.894836"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 34], ["created_at", "2022-02-06 18:32:14.896127"], ["updated_at", "2022-02-06 18:32:14.896127"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2876-ZOI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2876-ZOI"], ["name", "Synergistic Wooden Computer"], ["description", "Automotive & Jewelry"], ["price", 11.0], ["stock", 38], ["created_at", "2022-02-06 18:32:14.908050"], ["updated_at", "2022-02-06 18:32:14.908050"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 35], ["created_at", "2022-02-06 18:32:14.909439"], ["updated_at", "2022-02-06 18:32:14.909439"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 35], ["created_at", "2022-02-06 18:32:14.910784"], ["updated_at", "2022-02-06 18:32:14.910784"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5225-QJB"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "asd"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
[1m[36mTag Create (1.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "asd"], ["created_at", "2022-02-06 18:35:00.995335"], ["updated_at", "2022-02-06 18:35:00.995335"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (5.6ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (10.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1234-QWE"], ["LIMIT", 1]]
[1m[36mProduct Create (6.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1234-QWE"], ["name", "product name"], ["description", "decriptpo some"], ["price", 13.0], ["stock", 30], ["created_at", "2022-02-06 18:35:01.078184"], ["updated_at", "2022-02-06 18:35:01.078184"]]
[1m[36mTagging Create (2.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 13], ["product_id", 36], ["created_at", "2022-02-06 18:35:01.086314"], ["updated_at", "2022-02-06 18:35:01.086314"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "1234-QWE"], ["id", 36], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 30]]
[1m[36mReview Load (0.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
[1m[36mLike Load (0.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
[1m[36mTagging Load (0.5ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
[1m[36mTagging Destroy (0.4ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 59]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 60]]
[1m[36mProduct Destroy (1.2ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 30]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 31]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 31]]
[1m[36mLike Load (0.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 31]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 31]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 61]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 62]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 31]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 32]]
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 32]]
[1m[36mLike Load (0.3ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 32]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 32]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 63]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 64]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 32]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 33]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 33]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 33]]
[1m[36mTagging Load (0.2ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 33]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 65]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 66]]
[1m[36mProduct Destroy (0.6ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 33]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.2ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 34]]
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 34]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 34]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 34]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 67]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 68]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 34]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 35]]
[1m[36mReview Load (0.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 35]]
[1m[36mLike Load (0.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 35]]
[1m[36mTagging Load (0.4ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 35]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 69]]
[1m[36mTagging Destroy (0.2ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 70]]
[1m[36mProduct Destroy (0.7ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 35]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mOrder Load (0.1ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."product_id" = $1[0m [["product_id", 36]]
[1m[36mReview Load (0.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 36]]
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 36]]
[1m[36mTagging Load (0.3ms)[0m [1m[34mSELECT "taggings".* FROM "taggings" WHERE "taggings"."product_id" = $1[0m [["product_id", 36]]
[1m[36mTagging Destroy (0.3ms)[0m [1m[31mDELETE FROM "taggings" WHERE "taggings"."id" = $1[0m [["id", 71]]
[1m[36mProduct Destroy (0.5ms)[0m [1m[31mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 36]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 5]]
[1m[36mUser Destroy (0.9ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 6]]
[1m[36mUser Destroy (0.5ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 6]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$oj0NDFwZo54MqL/Lu0nNweXwS4Lle9IEodN2Of36sQVVKx13sNGuG"], ["created_at", "2022-02-06 18:35:33.081394"], ["updated_at", "2022-02-06 18:35:33.081394"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$hoUq777T7tXG9W5muKG.o.JTeTeFtoCaVLMb/igDM/S2p.VAc7TIW"], ["created_at", "2022-02-06 18:35:33.300384"], ["updated_at", "2022-02-06 18:35:33.300384"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6874-XZI"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 7]]
[1m[36mUser Destroy (1.2ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 7]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 8]]
[1m[36mUser Destroy (0.5ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 8]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mReview Load (0.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$gfaDlkPPQUUl5KhU3IN1J.1sIc3hYnyC5Dc1/KUhRIiUP8.xtH9Qa"], ["created_at", "2022-02-06 18:36:05.331621"], ["updated_at", "2022-02-06 18:36:05.331621"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$5XZEJ9lRLcN1VBSVWvZzguzzTntqlzYzFR69Y2Cgjr9VDLO3y0xDC"], ["created_at", "2022-02-06 18:36:05.552502"], ["updated_at", "2022-02-06 18:36:05.552502"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4056-KWU"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 9]]
[1m[36mUser Destroy (1.2ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 9]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mLike Load (0.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = $1[0m [["user_id", 10]]
[1m[36mUser Destroy (0.5ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 10]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mReview Load (0.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$7FtsB1Btb9g6yBRm2VLk/uJ/QbOuy0DXb6fyFYzwFROScyJgVTLjC"], ["created_at", "2022-02-06 18:36:19.622059"], ["updated_at", "2022-02-06 18:36:19.622059"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$dZznkEpqnNp7CGmnuE74j.Tw6wzXOKVnf9grH6PrJNOhevNR8oW1y"], ["created_at", "2022-02-06 18:36:19.835830"], ["updated_at", "2022-02-06 18:36:19.835830"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3739-KKX"], ["LIMIT", 1]]
[1m[36mProduct Create (1.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3739-KKX"], ["name", "Gorgeous Iron Bag"], ["description", "Movies & Electronics"], ["price", 6.0], ["stock", 29], ["created_at", "2022-02-06 18:36:20.187355"], ["updated_at", "2022-02-06 18:36:20.187355"]]
[1m[36mTagging Create (1.1ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 37], ["created_at", "2022-02-06 18:36:20.190711"], ["updated_at", "2022-02-06 18:36:20.190711"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 37], ["created_at", "2022-02-06 18:36:20.193181"], ["updated_at", "2022-02-06 18:36:20.193181"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8818-RUX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8818-RUX"], ["name", "Aerodynamic Plastic Lamp"], ["description", "Kids & Music"], ["price", 15.0], ["stock", 17], ["created_at", "2022-02-06 18:36:20.201137"], ["updated_at", "2022-02-06 18:36:20.201137"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 38], ["created_at", "2022-02-06 18:36:20.202475"], ["updated_at", "2022-02-06 18:36:20.202475"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 38], ["created_at", "2022-02-06 18:36:20.203940"], ["updated_at", "2022-02-06 18:36:20.203940"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7412-TBK"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2463-ZVG"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4318-TXB"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9426-HYP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9426-HYP"], ["name", "Heavy Duty Wool Lamp"], ["description", "Automotive & Baby"], ["price", 12.0], ["stock", 32], ["created_at", "2022-02-06 18:36:20.230895"], ["updated_at", "2022-02-06 18:36:20.230895"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 39], ["created_at", "2022-02-06 18:36:20.232315"], ["updated_at", "2022-02-06 18:36:20.232315"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 39], ["created_at", "2022-02-06 18:36:20.233781"], ["updated_at", "2022-02-06 18:36:20.233781"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3128-UUJ"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4226-CMO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7659-IRK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7659-IRK"], ["name", "Incredible Plastic Watch"], ["description", "Grocery & Sports"], ["price", 9.0], ["stock", 10], ["created_at", "2022-02-06 18:36:20.255487"], ["updated_at", "2022-02-06 18:36:20.255487"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 40], ["created_at", "2022-02-06 18:36:20.256890"], ["updated_at", "2022-02-06 18:36:20.256890"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 40], ["created_at", "2022-02-06 18:36:20.258223"], ["updated_at", "2022-02-06 18:36:20.258223"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4107-BKL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4107-BKL"], ["name", "Intelligent Aluminum Coat"], ["description", "Health, Games & Home"], ["price", 12.0], ["stock", 49], ["created_at", "2022-02-06 18:36:20.266205"], ["updated_at", "2022-02-06 18:36:20.266205"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 41], ["created_at", "2022-02-06 18:36:20.267618"], ["updated_at", "2022-02-06 18:36:20.267618"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 41], ["created_at", "2022-02-06 18:36:20.268919"], ["updated_at", "2022-02-06 18:36:20.268919"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1394-RXW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1394-RXW"], ["name", "Rustic Bronze Wallet"], ["description", "Grocery, Books & Jewelry"], ["price", 1.0], ["stock", 44], ["created_at", "2022-02-06 18:36:20.276766"], ["updated_at", "2022-02-06 18:36:20.276766"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 42], ["created_at", "2022-02-06 18:36:20.278333"], ["updated_at", "2022-02-06 18:36:20.278333"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 42], ["created_at", "2022-02-06 18:36:20.279702"], ["updated_at", "2022-02-06 18:36:20.279702"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6671-XUP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6671-XUP"], ["name", "Awesome Plastic Bench"], ["description", "Baby, Tools & Garden"], ["price", 4.0], ["stock", 46], ["created_at", "2022-02-06 18:36:20.287145"], ["updated_at", "2022-02-06 18:36:20.287145"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 43], ["created_at", "2022-02-06 18:36:20.288691"], ["updated_at", "2022-02-06 18:36:20.288691"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 43], ["created_at", "2022-02-06 18:36:20.290146"], ["updated_at", "2022-02-06 18:36:20.290146"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8289-JCY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8289-JCY"], ["name", "Durable Rubber Wallet"], ["description", "Computers, Baby & Kids"], ["price", 13.0], ["stock", 34], ["created_at", "2022-02-06 18:36:20.299041"], ["updated_at", "2022-02-06 18:36:20.299041"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 44], ["created_at", "2022-02-06 18:36:20.300629"], ["updated_at", "2022-02-06 18:36:20.300629"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 44], ["created_at", "2022-02-06 18:36:20.301991"], ["updated_at", "2022-02-06 18:36:20.301991"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6327-KJF"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8996-OCL"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1252-AWL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1252-AWL"], ["name", "Mediocre Wooden Table"], ["description", "Automotive & Home"], ["price", 3.0], ["stock", 33], ["created_at", "2022-02-06 18:36:20.321630"], ["updated_at", "2022-02-06 18:36:20.321630"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 45], ["created_at", "2022-02-06 18:36:20.323153"], ["updated_at", "2022-02-06 18:36:20.323153"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 45], ["created_at", "2022-02-06 18:36:20.324493"], ["updated_at", "2022-02-06 18:36:20.324493"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6027-DBO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6027-DBO"], ["name", "Small Steel Chair"], ["description", "Beauty, Electronics & Movies"], ["price", 3.0], ["stock", 33], ["created_at", "2022-02-06 18:36:20.333231"], ["updated_at", "2022-02-06 18:36:20.333231"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 46], ["created_at", "2022-02-06 18:36:20.334840"], ["updated_at", "2022-02-06 18:36:20.334840"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 46], ["created_at", "2022-02-06 18:36:20.336399"], ["updated_at", "2022-02-06 18:36:20.336399"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9697-EJB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9697-EJB"], ["name", "Fantastic Cotton Coat"], ["description", "Outdoors, Electronics & Sports"], ["price", 1.0], ["stock", 43], ["created_at", "2022-02-06 18:36:20.343964"], ["updated_at", "2022-02-06 18:36:20.343964"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 47], ["created_at", "2022-02-06 18:36:20.345509"], ["updated_at", "2022-02-06 18:36:20.345509"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 47], ["created_at", "2022-02-06 18:36:20.346967"], ["updated_at", "2022-02-06 18:36:20.346967"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5613-WIU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5613-WIU"], ["name", "Ergonomic Plastic Bottle"], ["description", "Garden, Baby & Toys"], ["price", 3.0], ["stock", 32], ["created_at", "2022-02-06 18:36:20.354362"], ["updated_at", "2022-02-06 18:36:20.354362"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 48], ["created_at", "2022-02-06 18:36:20.355989"], ["updated_at", "2022-02-06 18:36:20.355989"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 48], ["created_at", "2022-02-06 18:36:20.357415"], ["updated_at", "2022-02-06 18:36:20.357415"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6242-UAV"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8730-WSV"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2119-JLS"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8434-WZV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8434-WZV"], ["name", "Awesome Concrete Shoes"], ["description", "Home, Kids & Sports"], ["price", 2.0], ["stock", 33], ["created_at", "2022-02-06 18:36:20.384372"], ["updated_at", "2022-02-06 18:36:20.384372"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 49], ["created_at", "2022-02-06 18:36:20.385718"], ["updated_at", "2022-02-06 18:36:20.385718"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 49], ["created_at", "2022-02-06 18:36:20.387107"], ["updated_at", "2022-02-06 18:36:20.387107"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2115-GOV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2115-GOV"], ["name", "Ergonomic Plastic Watch"], ["description", "Games, Toys & Shoes"], ["price", 2.0], ["stock", 45], ["created_at", "2022-02-06 18:36:20.394894"], ["updated_at", "2022-02-06 18:36:20.394894"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 50], ["created_at", "2022-02-06 18:36:20.396363"], ["updated_at", "2022-02-06 18:36:20.396363"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 50], ["created_at", "2022-02-06 18:36:20.397735"], ["updated_at", "2022-02-06 18:36:20.397735"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6357-LKM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6357-LKM"], ["name", "Lightweight Iron Bottle"], ["description", "Kids, Music & Baby"], ["price", 7.0], ["stock", 30], ["created_at", "2022-02-06 18:36:20.406116"], ["updated_at", "2022-02-06 18:36:20.406116"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 51], ["created_at", "2022-02-06 18:36:20.407719"], ["updated_at", "2022-02-06 18:36:20.407719"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 51], ["created_at", "2022-02-06 18:36:20.409079"], ["updated_at", "2022-02-06 18:36:20.409079"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2163-CNZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2163-CNZ"], ["name", "Synergistic Steel Bag"], ["description", "Sports, Clothing & Tools"], ["price", 15.0], ["stock", 10], ["created_at", "2022-02-06 18:36:20.417366"], ["updated_at", "2022-02-06 18:36:20.417366"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 52], ["created_at", "2022-02-06 18:36:20.418782"], ["updated_at", "2022-02-06 18:36:20.418782"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 52], ["created_at", "2022-02-06 18:36:20.420102"], ["updated_at", "2022-02-06 18:36:20.420102"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2499-JWD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2499-JWD"], ["name", "Fantastic Concrete Gloves"], ["description", "Health & Music"], ["price", 6.0], ["stock", 21], ["created_at", "2022-02-06 18:36:20.427896"], ["updated_at", "2022-02-06 18:36:20.427896"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 53], ["created_at", "2022-02-06 18:36:20.429300"], ["updated_at", "2022-02-06 18:36:20.429300"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 53], ["created_at", "2022-02-06 18:36:20.430630"], ["updated_at", "2022-02-06 18:36:20.430630"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6865-WGT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6865-WGT"], ["name", "Incredible Leather Watch"], ["description", "Home & Health"], ["price", 9.0], ["stock", 43], ["created_at", "2022-02-06 18:36:20.438739"], ["updated_at", "2022-02-06 18:36:20.438739"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 54], ["created_at", "2022-02-06 18:36:20.440277"], ["updated_at", "2022-02-06 18:36:20.440277"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 54], ["created_at", "2022-02-06 18:36:20.441620"], ["updated_at", "2022-02-06 18:36:20.441620"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6886-OWL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6886-OWL"], ["name", "Lightweight Linen Coat"], ["description", "Baby & Books"], ["price", 6.0], ["stock", 39], ["created_at", "2022-02-06 18:36:20.449458"], ["updated_at", "2022-02-06 18:36:20.449458"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 55], ["created_at", "2022-02-06 18:36:20.450987"], ["updated_at", "2022-02-06 18:36:20.450987"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 55], ["created_at", "2022-02-06 18:36:20.452327"], ["updated_at", "2022-02-06 18:36:20.452327"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2275-GKK"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2275-GKK"], ["name", "Enormous Paper Bench"], ["description", "Tools, Shoes & Electronics"], ["price", 4.0], ["stock", 43], ["created_at", "2022-02-06 18:36:20.460307"], ["updated_at", "2022-02-06 18:36:20.460307"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 56], ["created_at", "2022-02-06 18:36:20.461706"], ["updated_at", "2022-02-06 18:36:20.461706"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 56], ["created_at", "2022-02-06 18:36:20.463256"], ["updated_at", "2022-02-06 18:36:20.463256"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
Started GET “/products/1” for ::1 at 2022-02-06 13:36:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Completed 404 Not Found in 22ms (ActiveRecord: 12.3ms | Allocations: 4508)
ActiveRecord::RecordNotFound (Couldn't find Product with 'id'=1):
app/controllers/products_controller.rb:59:in `set_product' Started GET “/products” for ::1 at 2022-02-06 13:36:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 111.9ms | Allocations: 48420)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 134.6ms | Allocations: 62084)
Completed 200 OK in 140ms (Views: 91.0ms | ActiveRecord: 44.2ms | Allocations: 62689)
Started GET “/products” for ::1 at 2022-02-06 13:36:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 108.7ms | Allocations: 48413)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 123.0ms | Allocations: 62077)
Completed 200 OK in 126ms (Views: 83.3ms | ActiveRecord: 40.5ms | Allocations: 62682)
Started GET “/products/56” for ::1 at 2022-02-06 13:36:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"56"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 15.2ms | Allocations: 7087)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.3ms | Allocations: 21538)
Completed 200 OK in 38ms (Views: 31.2ms | ActiveRecord: 4.4ms | Allocations: 22676)
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]] [1m[35m (5040.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
Started POST “/products/56/orders” for ::1 at 2022-02-06 13:36:54 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"56"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2275-GKK"], ["id", 56], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 42], ["updated_at", "2022-02-06 18:36:54.121050"], ["id", 56]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 5961)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.6ms | Allocations: 19475)
Completed 200 OK in 49ms (Views: 27.0ms | ActiveRecord: 9.8ms | Allocations: 25488)
Started POST “/products/56/orders” for ::1 at 2022-02-06 13:36:56 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"56"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2275-GKK"], ["id", 56], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 41], ["updated_at", "2022-02-06 18:36:56.760825"], ["id", 56]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 56]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 10.4ms | Allocations: 5958)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.7ms | Allocations: 19474)
Completed 200 OK in 43ms (Views: 25.3ms | ActiveRecord: 7.6ms | Allocations: 25462)
Started GET “/orders” for ::1 at 2022-02-06 13:36:57 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 942) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 26.5ms | Allocations: 15566)
Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 2.1ms | Allocations: 15973)
Started GET “/products” for ::1 at 2022-02-06 13:36:58 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 99.9ms | Allocations: 49307)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 115.0ms | Allocations: 62934)
Completed 200 OK in 117ms (Views: 78.0ms | ActiveRecord: 37.6ms | Allocations: 63542)
Started GET “/orders” for ::1 at 2022-02-06 13:36:59 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.2ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 944) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.8ms | Allocations: 15602)
Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 1.2ms | Allocations: 16009)
Started GET “/products” for ::1 at 2022-02-06 13:36:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 115.3ms | Allocations: 49294)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 130.1ms | Allocations: 62958)
Completed 200 OK in 133ms (Views: 88.0ms | ActiveRecord: 42.6ms | Allocations: 63566)
Started GET “/products/53” for ::1 at 2022-02-06 14:43:10 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"53"}
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 21.9ms | Allocations: 7090)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.3ms | Allocations: 20656)
Completed 200 OK in 85ms (Views: 49.5ms | ActiveRecord: 23.4ms | Allocations: 25904)
Started POST “/products/53/orders” for ::1 at 2022-02-06 14:43:13 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"53"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2499-JWD"], ["id", 53], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (2.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 20], ["updated_at", "2022-02-06 19:43:13.745299"], ["id", 53]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 53]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 13.0ms | Allocations: 5957)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.7ms | Allocations: 19470)
Completed 200 OK in 49ms (Views: 26.9ms | ActiveRecord: 10.7ms | Allocations: 25482)
Started GET “/products” for ::1 at 2022-02-06 14:43:56 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 139.4ms | Allocations: 49818)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 1292) Rendered shared/_flashes.html.erb (Duration: 1.1ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 167.1ms | Allocations: 64479)
Completed 200 OK in 175ms (Views: 121.1ms | ActiveRecord: 50.9ms | Allocations: 65886)
Started GET “/orders” for ::1 at 2022-02-06 14:43:57 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 5.1ms | Allocations: 1224)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 952) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 33.7ms | Allocations: 15937)
Completed 200 OK in 37ms (Views: 34.1ms | ActiveRecord: 1.3ms | Allocations: 16917)
Started GET “/products” for ::1 at 2022-02-06 14:43:57 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 133.2ms | Allocations: 49303)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 153.1ms | Allocations: 62972)
Completed 200 OK in 155ms (Views: 104.2ms | ActiveRecord: 49.4ms | Allocations: 63581)
Started GET “/products/55” for ::1 at 2022-02-06 14:43:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"55"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (5.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 36.5ms | Allocations: 8823)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 64.1ms | Allocations: 22531)
Completed 200 OK in 69ms (Views: 56.9ms | ActiveRecord: 8.6ms | Allocations: 23794)
Started POST “/products/55/orders” for ::1 at 2022-02-06 14:44:00 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"55"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6886-OWL"], ["id", 55], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 38], ["updated_at", "2022-02-06 19:44:00.044748"], ["id", 55]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 5973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 34.1ms | Allocations: 19494)
Completed 200 OK in 50ms (Views: 32.0ms | ActiveRecord: 8.2ms | Allocations: 25505)
Started POST “/products/55/orders” for ::1 at 2022-02-06 14:44:59 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"55"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6886-OWL"], ["id", 55], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 37], ["updated_at", "2022-02-06 19:44:59.782364"], ["id", 55]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 55]]
↳ app/views/products/show.html.erb:48
Rendered products/show.html.erb within layouts/application (Duration: 14.1ms | Allocations: 6974)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1295) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 37.0ms | Allocations: 21562)
Completed 200 OK in 56ms (Views: 36.9ms | ActiveRecord: 8.2ms | Allocations: 28350)
Started GET “/products” for ::1 at 2022-02-06 14:45:07 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 56]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 55]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 54]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 53]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 52]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 51]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 50]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 49]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 48]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 47]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 46]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 45]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 44]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 43]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 42]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 41]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 40]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 39]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 38]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 37]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 103.9ms | Allocations: 49814)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 118.3ms | Allocations: 63448)
Completed 200 OK in 123ms (Views: 82.5ms | ActiveRecord: 37.8ms | Allocations: 64633)
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (5040.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (204.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (163.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (441.8ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (268.9ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (2.1ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (4.3ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:49:08.314824"], ["updated_at", "2022-02-06 19:49:08.314824"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:49:08.322548"], ["updated_at", "2022-02-06 19:49:08.322548"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (4.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:49:08.447193"], ["updated_at", "2022-02-06 19:49:08.447193"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-06 19:49:08.464303"], ["key", "environment"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:49:08.470814"], ["updated_at", "2022-02-06 19:49:08.470814"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$bD8lG2FBdrNaSIKpcE2y0u9RbDYlxd2y/5mlRN2Yf8WzjnMMz7Lyq"], ["created_at", "2022-02-06 19:49:08.770771"], ["updated_at", "2022-02-06 19:49:08.770771"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$JFYnv9/UpZKxxX5iSMsb6.uLA1Zaz4i29tCyIHVLp0jbwv5rVhGBy"], ["created_at", "2022-02-06 19:49:08.991901"], ["updated_at", "2022-02-06 19:49:08.991901"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-06 19:49:09.377775"], ["updated_at", "2022-02-06 19:49:09.377775"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-06 19:49:09.381775"], ["updated_at", "2022-02-06 19:49:09.381775"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8833-AQT"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (143.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (140.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (263.9ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (303.5ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:49:46.870707"], ["updated_at", "2022-02-06 19:49:46.870707"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:49:46.879284"], ["updated_at", "2022-02-06 19:49:46.879284"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:49:47.014691"], ["updated_at", "2022-02-06 19:49:47.014691"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-06 19:49:47.019928"], ["key", "environment"]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:49:47.025495"], ["updated_at", "2022-02-06 19:49:47.025495"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$mbk/2lONh4uEMI0WV/ISwO6DFUguHsuBDyEXyjfOdYksxnTNLR3Rm"], ["created_at", "2022-02-06 19:49:47.320183"], ["updated_at", "2022-02-06 19:49:47.320183"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$hsWcdjZu0W0XTJouVyqok.NTJPFZXPQB8LAudSCJch2AxMQqwVo1e"], ["created_at", "2022-02-06 19:49:47.552066"], ["updated_at", "2022-02-06 19:49:47.552066"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.6ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-06 19:49:47.824777"], ["updated_at", "2022-02-06 19:49:47.824777"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-06 19:49:47.829723"], ["updated_at", "2022-02-06 19:49:47.829723"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8733-OYY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8733-OYY"], ["name", "Mediocre Iron Clock"], ["description", "Movies & Home"], ["price", 6.0], ["stock", 47], ["created_at", "2022-02-06 19:49:47.850289"], ["updated_at", "2022-02-06 19:49:47.850289"]]
[1m[36mTagging Create (1.1ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-06 19:49:47.852212"], ["updated_at", "2022-02-06 19:49:47.852212"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-06 19:49:47.854553"], ["updated_at", "2022-02-06 19:49:47.854553"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 1], ["user_id", 2], ["created_at", "2022-02-06 19:49:47.869039"], ["updated_at", "2022-02-06 19:49:47.869039"], ["rating", 3]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-06 19:49:47.875095"], ["updated_at", "2022-02-06 19:49:47.875095"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.2ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-06 19:49:47.878920"], ["updated_at", "2022-02-06 19:49:47.878920"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6737-GWO"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (143.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (139.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (286.1ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (267.6ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.6ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:50:20.112094"], ["updated_at", "2022-02-06 19:50:20.112094"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:50:20.119833"], ["updated_at", "2022-02-06 19:50:20.119833"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.7ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.8ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 19:50:20.252820"], ["updated_at", "2022-02-06 19:50:20.252820"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-06 19:50:20.259079"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 19:50:20.264126"], ["updated_at", "2022-02-06 19:50:20.264126"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mReview Load (0.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$6ZgVyeE2xPaF6NMQI6XIpu.ojAwjoXJLisY/pbDJ7y/Cx/OQ6LKTq"], ["created_at", "2022-02-06 19:50:20.549842"], ["updated_at", "2022-02-06 19:50:20.549842"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$yugEazzilulwZhAHWQZvXeAcNuEaooagwqBeyuLtHS7NRiphsE6qK"], ["created_at", "2022-02-06 19:50:20.769177"], ["updated_at", "2022-02-06 19:50:20.769177"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-06 19:50:21.029749"], ["updated_at", "2022-02-06 19:50:21.029749"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-06 19:50:21.034918"], ["updated_at", "2022-02-06 19:50:21.034918"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3077-HBH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3077-HBH"], ["name", "Intelligent Steel Computer"], ["description", "Clothing, Health & Outdoors"], ["price", 11.0], ["stock", 24], ["created_at", "2022-02-06 19:50:21.057248"], ["updated_at", "2022-02-06 19:50:21.057248"]]
[1m[36mTagging Create (1.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-06 19:50:21.059294"], ["updated_at", "2022-02-06 19:50:21.059294"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-06 19:50:21.061523"], ["updated_at", "2022-02-06 19:50:21.061523"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 1], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.077708"], ["updated_at", "2022-02-06 19:50:21.077708"], ["rating", 4]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-06 19:50:21.082747"], ["updated_at", "2022-02-06 19:50:21.082747"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3626-AKI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3626-AKI"], ["name", "Practical Marble Lamp"], ["description", "Home"], ["price", 3.0], ["stock", 13], ["created_at", "2022-02-06 19:50:21.090214"], ["updated_at", "2022-02-06 19:50:21.090214"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 2], ["created_at", "2022-02-06 19:50:21.091889"], ["updated_at", "2022-02-06 19:50:21.091889"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 2], ["created_at", "2022-02-06 19:50:21.093419"], ["updated_at", "2022-02-06 19:50:21.093419"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 2], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.099049"], ["updated_at", "2022-02-06 19:50:21.099049"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-06 19:50:21.104052"], ["updated_at", "2022-02-06 19:50:21.104052"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8705-BTQ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8705-BTQ"], ["name", "Awesome Leather Shoes"], ["description", "Electronics & Home"], ["price", 3.0], ["stock", 35], ["created_at", "2022-02-06 19:50:21.110237"], ["updated_at", "2022-02-06 19:50:21.110237"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 3], ["created_at", "2022-02-06 19:50:21.111642"], ["updated_at", "2022-02-06 19:50:21.111642"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 3], ["created_at", "2022-02-06 19:50:21.113259"], ["updated_at", "2022-02-06 19:50:21.113259"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.7ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 3], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.120312"], ["updated_at", "2022-02-06 19:50:21.120312"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-06 19:50:21.127007"], ["updated_at", "2022-02-06 19:50:21.127007"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7432-HDR"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7432-HDR"], ["name", "Sleek Steel Car"], ["description", "Kids, Beauty & Toys"], ["price", 11.0], ["stock", 31], ["created_at", "2022-02-06 19:50:21.134335"], ["updated_at", "2022-02-06 19:50:21.134335"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 4], ["created_at", "2022-02-06 19:50:21.136070"], ["updated_at", "2022-02-06 19:50:21.136070"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 4], ["created_at", "2022-02-06 19:50:21.137687"], ["updated_at", "2022-02-06 19:50:21.137687"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 4], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.143485"], ["updated_at", "2022-02-06 19:50:21.143485"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-06 19:50:21.148383"], ["updated_at", "2022-02-06 19:50:21.148383"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2092-TFX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2092-TFX"], ["name", "Mediocre Marble Bag"], ["description", "Games"], ["price", 15.0], ["stock", 21], ["created_at", "2022-02-06 19:50:21.154411"], ["updated_at", "2022-02-06 19:50:21.154411"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 5], ["created_at", "2022-02-06 19:50:21.156443"], ["updated_at", "2022-02-06 19:50:21.156443"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 5], ["created_at", "2022-02-06 19:50:21.158074"], ["updated_at", "2022-02-06 19:50:21.158074"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 5], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.164674"], ["updated_at", "2022-02-06 19:50:21.164674"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-06 19:50:21.169592"], ["updated_at", "2022-02-06 19:50:21.169592"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8772-OJY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.8ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8772-OJY"], ["name", "Ergonomic Granite Shirt"], ["description", "Automotive, Baby & Computers"], ["price", 4.0], ["stock", 15], ["created_at", "2022-02-06 19:50:21.176765"], ["updated_at", "2022-02-06 19:50:21.176765"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 6], ["created_at", "2022-02-06 19:50:21.179307"], ["updated_at", "2022-02-06 19:50:21.179307"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 6], ["created_at", "2022-02-06 19:50:21.182102"], ["updated_at", "2022-02-06 19:50:21.182102"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 6], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.188930"], ["updated_at", "2022-02-06 19:50:21.188930"], ["rating", 4]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-06 19:50:21.194419"], ["updated_at", "2022-02-06 19:50:21.194419"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4393-ZMP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4393-ZMP"], ["name", "Fantastic Linen Bottle"], ["description", "Automotive, Sports & Clothing"], ["price", 12.0], ["stock", 24], ["created_at", "2022-02-06 19:50:21.201121"], ["updated_at", "2022-02-06 19:50:21.201121"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 7], ["created_at", "2022-02-06 19:50:21.202869"], ["updated_at", "2022-02-06 19:50:21.202869"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 7], ["created_at", "2022-02-06 19:50:21.204696"], ["updated_at", "2022-02-06 19:50:21.204696"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 7], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.210682"], ["updated_at", "2022-02-06 19:50:21.210682"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7614-KNN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7614-KNN"], ["name", "Sleek Plastic Hat"], ["description", "Computers & Garden"], ["price", 12.0], ["stock", 40], ["created_at", "2022-02-06 19:50:21.218959"], ["updated_at", "2022-02-06 19:50:21.218959"]]
[1m[36mTagging Create (0.7ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 8], ["created_at", "2022-02-06 19:50:21.221137"], ["updated_at", "2022-02-06 19:50:21.221137"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 8], ["created_at", "2022-02-06 19:50:21.223582"], ["updated_at", "2022-02-06 19:50:21.223582"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 8], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.229760"], ["updated_at", "2022-02-06 19:50:21.229760"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-06 19:50:21.236052"], ["updated_at", "2022-02-06 19:50:21.236052"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3056-SIY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3056-SIY"], ["name", "Ergonomic Steel Coat"], ["description", "Games, Automotive & Grocery"], ["price", 9.0], ["stock", 16], ["created_at", "2022-02-06 19:50:21.243794"], ["updated_at", "2022-02-06 19:50:21.243794"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 9], ["created_at", "2022-02-06 19:50:21.245657"], ["updated_at", "2022-02-06 19:50:21.245657"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 9], ["created_at", "2022-02-06 19:50:21.247232"], ["updated_at", "2022-02-06 19:50:21.247232"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 9], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.253000"], ["updated_at", "2022-02-06 19:50:21.253000"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8057-NBE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8057-NBE"], ["name", "Aerodynamic Wool Clock"], ["description", "Grocery"], ["price", 1.0], ["stock", 30], ["created_at", "2022-02-06 19:50:21.261719"], ["updated_at", "2022-02-06 19:50:21.261719"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 10], ["created_at", "2022-02-06 19:50:21.263367"], ["updated_at", "2022-02-06 19:50:21.263367"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 10], ["created_at", "2022-02-06 19:50:21.264850"], ["updated_at", "2022-02-06 19:50:21.264850"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 10], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.270354"], ["updated_at", "2022-02-06 19:50:21.270354"], ["rating", 3]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3108-HVD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3108-HVD"], ["name", "Intelligent Linen Gloves"], ["description", "Games & Clothing"], ["price", 15.0], ["stock", 22], ["created_at", "2022-02-06 19:50:21.279425"], ["updated_at", "2022-02-06 19:50:21.279425"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 11], ["created_at", "2022-02-06 19:50:21.281082"], ["updated_at", "2022-02-06 19:50:21.281082"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 11], ["created_at", "2022-02-06 19:50:21.282536"], ["updated_at", "2022-02-06 19:50:21.282536"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 11], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.289483"], ["updated_at", "2022-02-06 19:50:21.289483"], ["rating", 2]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7928-CTY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7928-CTY"], ["name", "Awesome Rubber Wallet"], ["description", "Computers & Outdoors"], ["price", 5.0], ["stock", 23], ["created_at", "2022-02-06 19:50:21.298162"], ["updated_at", "2022-02-06 19:50:21.298162"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 12], ["created_at", "2022-02-06 19:50:21.300108"], ["updated_at", "2022-02-06 19:50:21.300108"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 12], ["created_at", "2022-02-06 19:50:21.302101"], ["updated_at", "2022-02-06 19:50:21.302101"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 12], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.307811"], ["updated_at", "2022-02-06 19:50:21.307811"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7599-LLN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7599-LLN"], ["name", "Sleek Copper Coat"], ["description", "Music & Electronics"], ["price", 5.0], ["stock", 35], ["created_at", "2022-02-06 19:50:21.318339"], ["updated_at", "2022-02-06 19:50:21.318339"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 13], ["created_at", "2022-02-06 19:50:21.319801"], ["updated_at", "2022-02-06 19:50:21.319801"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 13], ["created_at", "2022-02-06 19:50:21.321467"], ["updated_at", "2022-02-06 19:50:21.321467"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 13], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.327257"], ["updated_at", "2022-02-06 19:50:21.327257"], ["rating", 3]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-06 19:50:21.331289"], ["updated_at", "2022-02-06 19:50:21.331289"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3128-ROC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3128-ROC"], ["name", "Durable Aluminum Coat"], ["description", "Clothing & Computers"], ["price", 11.0], ["stock", 26], ["created_at", "2022-02-06 19:50:21.338078"], ["updated_at", "2022-02-06 19:50:21.338078"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 14], ["created_at", "2022-02-06 19:50:21.339974"], ["updated_at", "2022-02-06 19:50:21.339974"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 14], ["created_at", "2022-02-06 19:50:21.341807"], ["updated_at", "2022-02-06 19:50:21.341807"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 14], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.347948"], ["updated_at", "2022-02-06 19:50:21.347948"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9956-ROU"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9956-ROU"], ["name", "Ergonomic Leather Gloves"], ["description", "Tools, Baby & Computers"], ["price", 15.0], ["stock", 49], ["created_at", "2022-02-06 19:50:21.357419"], ["updated_at", "2022-02-06 19:50:21.357419"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 15], ["created_at", "2022-02-06 19:50:21.358963"], ["updated_at", "2022-02-06 19:50:21.358963"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 15], ["created_at", "2022-02-06 19:50:21.360336"], ["updated_at", "2022-02-06 19:50:21.360336"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 15], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.368789"], ["updated_at", "2022-02-06 19:50:21.368789"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8680-OOM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8680-OOM"], ["name", "Small Concrete Shirt"], ["description", "Kids"], ["price", 13.0], ["stock", 36], ["created_at", "2022-02-06 19:50:21.380318"], ["updated_at", "2022-02-06 19:50:21.380318"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 16], ["created_at", "2022-02-06 19:50:21.382910"], ["updated_at", "2022-02-06 19:50:21.382910"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 16], ["created_at", "2022-02-06 19:50:21.385203"], ["updated_at", "2022-02-06 19:50:21.385203"]]
[1m[36mTRANSACTION (2.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.396051"], ["updated_at", "2022-02-06 19:50:21.396051"], ["rating", 4]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6040-NKV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6040-NKV"], ["name", "Mediocre Linen Shirt"], ["description", "Tools & Kids"], ["price", 7.0], ["stock", 22], ["created_at", "2022-02-06 19:50:21.407628"], ["updated_at", "2022-02-06 19:50:21.407628"]]
[1m[36mTagging Create (0.7ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 17], ["created_at", "2022-02-06 19:50:21.409546"], ["updated_at", "2022-02-06 19:50:21.409546"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 17], ["created_at", "2022-02-06 19:50:21.412598"], ["updated_at", "2022-02-06 19:50:21.412598"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 17], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.419601"], ["updated_at", "2022-02-06 19:50:21.419601"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1794-ZYN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1794-ZYN"], ["name", "Sleek Copper Pants"], ["description", "Clothing"], ["price", 14.0], ["stock", 26], ["created_at", "2022-02-06 19:50:21.427609"], ["updated_at", "2022-02-06 19:50:21.427609"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 18], ["created_at", "2022-02-06 19:50:21.429063"], ["updated_at", "2022-02-06 19:50:21.429063"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 18], ["created_at", "2022-02-06 19:50:21.430447"], ["updated_at", "2022-02-06 19:50:21.430447"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.435443"], ["updated_at", "2022-02-06 19:50:21.435443"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5723-GKE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5723-GKE"], ["name", "Aerodynamic Leather Keyboard"], ["description", "Games & Music"], ["price", 12.0], ["stock", 18], ["created_at", "2022-02-06 19:50:21.444395"], ["updated_at", "2022-02-06 19:50:21.444395"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 19], ["created_at", "2022-02-06 19:50:21.445861"], ["updated_at", "2022-02-06 19:50:21.445861"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 19], ["created_at", "2022-02-06 19:50:21.447221"], ["updated_at", "2022-02-06 19:50:21.447221"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 19], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.452259"], ["updated_at", "2022-02-06 19:50:21.452259"], ["rating", 5]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3626-XCL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3626-XCL"], ["name", "Small Iron Chair"], ["description", "Shoes, Electronics & Home"], ["price", 9.0], ["stock", 39], ["created_at", "2022-02-06 19:50:21.460541"], ["updated_at", "2022-02-06 19:50:21.460541"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 20], ["created_at", "2022-02-06 19:50:21.462107"], ["updated_at", "2022-02-06 19:50:21.462107"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 20], ["created_at", "2022-02-06 19:50:21.464028"], ["updated_at", "2022-02-06 19:50:21.464028"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 20], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.470353"], ["updated_at", "2022-02-06 19:50:21.470353"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6922-YXC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6922-YXC"], ["name", "Sleek Wooden Bench"], ["description", "Outdoors & Books"], ["price", 4.0], ["stock", 23], ["created_at", "2022-02-06 19:50:21.478621"], ["updated_at", "2022-02-06 19:50:21.478621"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 21], ["created_at", "2022-02-06 19:50:21.479992"], ["updated_at", "2022-02-06 19:50:21.479992"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 21], ["created_at", "2022-02-06 19:50:21.481400"], ["updated_at", "2022-02-06 19:50:21.481400"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 21], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.486460"], ["updated_at", "2022-02-06 19:50:21.486460"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9658-ELH"], ["LIMIT", 1]]
[1m[36mProduct Create (1.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9658-ELH"], ["name", "Mediocre Steel Plate"], ["description", "Jewelry"], ["price", 11.0], ["stock", 42], ["created_at", "2022-02-06 19:50:21.494888"], ["updated_at", "2022-02-06 19:50:21.494888"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 22], ["created_at", "2022-02-06 19:50:21.497999"], ["updated_at", "2022-02-06 19:50:21.497999"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 22], ["created_at", "2022-02-06 19:50:21.499929"], ["updated_at", "2022-02-06 19:50:21.499929"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 22], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.506184"], ["updated_at", "2022-02-06 19:50:21.506184"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6367-ZQE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6367-ZQE"], ["name", "Aerodynamic Leather Hat"], ["description", "Health & Computers"], ["price", 7.0], ["stock", 19], ["created_at", "2022-02-06 19:50:21.519464"], ["updated_at", "2022-02-06 19:50:21.519464"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 23], ["created_at", "2022-02-06 19:50:21.521169"], ["updated_at", "2022-02-06 19:50:21.521169"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 23], ["created_at", "2022-02-06 19:50:21.523045"], ["updated_at", "2022-02-06 19:50:21.523045"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 23], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.529160"], ["updated_at", "2022-02-06 19:50:21.529160"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8771-LJT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8771-LJT"], ["name", "Lightweight Aluminum Watch"], ["description", "Toys, Beauty & Health"], ["price", 12.0], ["stock", 11], ["created_at", "2022-02-06 19:50:21.541162"], ["updated_at", "2022-02-06 19:50:21.541162"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 24], ["created_at", "2022-02-06 19:50:21.542915"], ["updated_at", "2022-02-06 19:50:21.542915"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 24], ["created_at", "2022-02-06 19:50:21.544405"], ["updated_at", "2022-02-06 19:50:21.544405"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 24], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.550573"], ["updated_at", "2022-02-06 19:50:21.550573"], ["rating", 4]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8309-KLD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8309-KLD"], ["name", "Sleek Iron Hat"], ["description", "Music & Jewelry"], ["price", 10.0], ["stock", 16], ["created_at", "2022-02-06 19:50:21.558766"], ["updated_at", "2022-02-06 19:50:21.558766"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 25], ["created_at", "2022-02-06 19:50:21.560207"], ["updated_at", "2022-02-06 19:50:21.560207"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 25], ["created_at", "2022-02-06 19:50:21.561664"], ["updated_at", "2022-02-06 19:50:21.561664"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 25], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.567776"], ["updated_at", "2022-02-06 19:50:21.567776"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2431-AYC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2431-AYC"], ["name", "Ergonomic Steel Keyboard"], ["description", "Outdoors, Industrial & Tools"], ["price", 3.0], ["stock", 49], ["created_at", "2022-02-06 19:50:21.576601"], ["updated_at", "2022-02-06 19:50:21.576601"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 26], ["created_at", "2022-02-06 19:50:21.578189"], ["updated_at", "2022-02-06 19:50:21.578189"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 26], ["created_at", "2022-02-06 19:50:21.579776"], ["updated_at", "2022-02-06 19:50:21.579776"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 26], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.585140"], ["updated_at", "2022-02-06 19:50:21.585140"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8836-YAE"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8836-YAE"], ["name", "Enormous Steel Shirt"], ["description", "Movies & Automotive"], ["price", 7.0], ["stock", 31], ["created_at", "2022-02-06 19:50:21.594305"], ["updated_at", "2022-02-06 19:50:21.594305"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 27], ["created_at", "2022-02-06 19:50:21.595960"], ["updated_at", "2022-02-06 19:50:21.595960"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 27], ["created_at", "2022-02-06 19:50:21.597558"], ["updated_at", "2022-02-06 19:50:21.597558"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 27], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.603312"], ["updated_at", "2022-02-06 19:50:21.603312"], ["rating", 5]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5987-VVX"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5987-VVX"], ["name", "Aerodynamic Silk Shoes"], ["description", "Home & Automotive"], ["price", 3.0], ["stock", 31], ["created_at", "2022-02-06 19:50:21.611829"], ["updated_at", "2022-02-06 19:50:21.611829"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 28], ["created_at", "2022-02-06 19:50:21.613393"], ["updated_at", "2022-02-06 19:50:21.613393"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 28], ["created_at", "2022-02-06 19:50:21.614847"], ["updated_at", "2022-02-06 19:50:21.614847"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 28], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.619899"], ["updated_at", "2022-02-06 19:50:21.619899"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3417-SAB"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3417-SAB"], ["name", "Practical Wooden Shoes"], ["description", "Sports & Music"], ["price", 5.0], ["stock", 16], ["created_at", "2022-02-06 19:50:21.628126"], ["updated_at", "2022-02-06 19:50:21.628126"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 29], ["created_at", "2022-02-06 19:50:21.629555"], ["updated_at", "2022-02-06 19:50:21.629555"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 29], ["created_at", "2022-02-06 19:50:21.630941"], ["updated_at", "2022-02-06 19:50:21.630941"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 29], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.636685"], ["updated_at", "2022-02-06 19:50:21.636685"], ["rating", 5]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5435-KEG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5435-KEG"], ["name", "Heavy Duty Iron Hat"], ["description", "Toys & Computers"], ["price", 9.0], ["stock", 50], ["created_at", "2022-02-06 19:50:21.645568"], ["updated_at", "2022-02-06 19:50:21.645568"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 30], ["created_at", "2022-02-06 19:50:21.647227"], ["updated_at", "2022-02-06 19:50:21.647227"]]
[1m[36mTagging Create (0.7ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 30], ["created_at", "2022-02-06 19:50:21.648714"], ["updated_at", "2022-02-06 19:50:21.648714"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 30], ["user_id", 2], ["created_at", "2022-02-06 19:50:21.657931"], ["updated_at", "2022-02-06 19:50:21.657931"], ["rating", 2]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
Started GET “/products/55/orders” for ::1 at 2022-02-06 15:00:54 -0500
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
ActionController::RoutingError (No route matches [GET] “/products/55/orders”):
Started GET “/products/” for ::1 at 2022-02-06 15:00:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (3.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 522.5ms | Allocations: 141256)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 1332) Rendered shared/_flashes.html.erb (Duration: 0.9ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 549.4ms | Allocations: 155982)
Completed 200 OK in 569ms (Views: 464.5ms | ActiveRecord: 87.7ms | Allocations: 162098)
Started GET “/products/29” for ::1 at 2022-02-06 15:01:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 443.5ms | Allocations: 370883)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 457.7ms | Allocations: 384478)
Completed 200 OK in 506ms (Views: 447.8ms | ActiveRecord: 24.5ms | Allocations: 396837)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:17 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (2.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 15], ["updated_at", "2022-02-06 20:01:17.430228"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 15.4ms | Allocations: 7621)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 29.2ms | Allocations: 21143)
Completed 200 OK in 52ms (Views: 26.9ms | ActiveRecord: 11.4ms | Allocations: 28978)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:18 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 14], ["updated_at", "2022-02-06 20:01:18.766565"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 17.8ms | Allocations: 7593)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 32.2ms | Allocations: 21108)
Completed 200 OK in 49ms (Views: 27.5ms | ActiveRecord: 10.9ms | Allocations: 27114)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:19 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 13], ["updated_at", "2022-02-06 20:01:19.350193"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 7591)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 28.1ms | Allocations: 21106)
Completed 200 OK in 43ms (Views: 25.2ms | ActiveRecord: 9.0ms | Allocations: 27111)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:19 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 12], ["updated_at", "2022-02-06 20:01:19.843437"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 14.9ms | Allocations: 7590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.3ms | Allocations: 21103)
Completed 200 OK in 45ms (Views: 26.2ms | ActiveRecord: 9.7ms | Allocations: 27081)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 11], ["updated_at", "2022-02-06 20:01:20.229320"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 14.3ms | Allocations: 7590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 21103)
Completed 200 OK in 45ms (Views: 26.4ms | ActiveRecord: 9.3ms | Allocations: 27081)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 10], ["updated_at", "2022-02-06 20:01:20.598898"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 14.8ms | Allocations: 7590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 29.2ms | Allocations: 21103)
Completed 200 OK in 45ms (Views: 25.9ms | ActiveRecord: 9.3ms | Allocations: 27085)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 9], ["updated_at", "2022-02-06 20:01:20.882658"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 15.7ms | Allocations: 7590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.6ms | Allocations: 21103)
Completed 200 OK in 46ms (Views: 27.3ms | ActiveRecord: 9.4ms | Allocations: 27086)
Started GET “/orders” for ::1 at 2022-02-06 15:01:24 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.6ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1248)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 951) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 25.9ms | Allocations: 15967)
Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 1.6ms | Allocations: 16516)
Started GET “/users/sign_in” for ::1 at 2022-02-06 15:01:27 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 641) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 26.8ms | Allocations: 10809)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 24644)
Completed 200 OK in 48ms (Views: 45.3ms | ActiveRecord: 0.0ms | Allocations: 26445)
Started GET “/products” for ::1 at 2022-02-06 15:01:33 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 144.4ms | Allocations: 72725)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 158.6ms | Allocations: 86359)
Completed 200 OK in 162ms (Views: 104.4ms | ActiveRecord: 55.1ms | Allocations: 86967)
Started GET “/products/29” for ::1 at 2022-02-06 15:01:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 20.0ms | Allocations: 9479)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.0ms | Allocations: 23110)
Completed 200 OK in 38ms (Views: 29.8ms | ActiveRecord: 6.3ms | Allocations: 24247)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:01:36 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 8], ["updated_at", "2022-02-06 20:01:36.524329"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 15.6ms | Allocations: 7600)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 29.7ms | Allocations: 21120)
Completed 200 OK in 45ms (Views: 26.0ms | ActiveRecord: 9.3ms | Allocations: 27122)
Started GET “/users/sign_in” for ::1 at 2022-02-06 15:01:54 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.5ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.9ms | Allocations: 8747)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.4ms | Allocations: 23341)
Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms | Allocations: 23941)
Started POST “/users/sign_in” for ::1 at 2022-02-06 15:01:59 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 241ms (ActiveRecord: 1.0ms | Allocations: 6113)
Started GET “/” for ::1 at 2022-02-06 15:01:59 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.2ms | Allocations: 117)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2048) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 20.0ms | Allocations: 15012)
Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.9ms | Allocations: 16057)
Started GET “/products” for ::1 at 2022-02-06 15:02:05 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 145.2ms | Allocations: 73589)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 160.3ms | Allocations: 87236)
Completed 200 OK in 162ms (Views: 106.8ms | ActiveRecord: 54.0ms | Allocations: 87849)
Started GET “/products/29” for ::1 at 2022-02-06 15:02:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 39.1ms | Allocations: 20397)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.6ms | Allocations: 33931)
Completed 200 OK in 58ms (Views: 45.9ms | ActiveRecord: 9.6ms | Allocations: 35072)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:02:07 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:14:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3417-SAB"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 7], ["updated_at", "2022-02-06 20:02:07.836409"], ["id", 29]]
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:16:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mOrder Create (3.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 29], ["created_at", "2022-02-06 20:02:07.841660"], ["updated_at", "2022-02-06 20:02:07.841660"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:17:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:17:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 29ms (ActiveRecord: 12.4ms | Allocations: 8243)
Started GET “/orders” for ::1 at 2022-02-06 15:02:07 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.8ms | Allocations: 1971)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1835) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 23.2ms | Allocations: 16681)
Completed 200 OK in 24ms (Views: 20.3ms | ActiveRecord: 3.2ms | Allocations: 17090)
Started GET “/products” for ::1 at 2022-02-06 15:04:40 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 152.9ms | Allocations: 73572)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 167.7ms | Allocations: 87205)
Completed 200 OK in 170ms (Views: 111.6ms | ActiveRecord: 56.8ms | Allocations: 87816)
Started GET “/products/29” for ::1 at 2022-02-06 15:04:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (3.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (4.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (3.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (3.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 59.5ms | Allocations: 19708)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.7ms | Allocations: 33242)
Completed 200 OK in 83ms (Views: 59.9ms | ActiveRecord: 18.6ms | Allocations: 34383)
Started GET “/orders” for ::1 at 2022-02-06 15:04:46 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.9ms | Allocations: 1789)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1829) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.2ms | Allocations: 17363)
Completed 200 OK in 39ms (Views: 33.5ms | ActiveRecord: 4.2ms | Allocations: 17773)
Started DELETE “/orders/1?order_id=1” for ::1 at 2022-02-06 15:26:34 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"1", "id"=>"1"}
[1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:33:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mOrder Destroy (1.1ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 1]]
↳ app/controllers/orders_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (1.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 41ms (ActiveRecord: 20.9ms | Allocations: 6442)
Started GET “/orders” for ::1 at 2022-02-06 15:26:34 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 3.6ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.9ms | Allocations: 1912) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 15660)
Completed 200 OK in 41ms (Views: 37.8ms | ActiveRecord: 3.1ms | Allocations: 16069)
Started GET “/products” for ::1 at 2022-02-06 15:26:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (2.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 197.1ms | Allocations: 73574)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 216.5ms | Allocations: 87210)
Completed 200 OK in 219ms (Views: 141.5ms | ActiveRecord: 75.4ms | Allocations: 87821)
Started GET “/products/30” for ::1 at 2022-02-06 15:26:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 47.2ms | Allocations: 19732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 67.8ms | Allocations: 33267)
Completed 200 OK in 73ms (Views: 59.3ms | ActiveRecord: 9.9ms | Allocations: 34412)
Started GET “/products/29” for ::1 at 2022-02-06 15:26:40 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 42.4ms | Allocations: 19593)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 68.9ms | Allocations: 33243)
Completed 200 OK in 74ms (Views: 60.3ms | ActiveRecord: 10.4ms | Allocations: 34384)
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (174.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_development"[0m
[1m[35m (161.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "rails_store_app_test"[0m
[1m[35m (400.6ms)[0m [1m[35mCREATE DATABASE "rails_store_app_development" ENCODING = 'unicode'[0m
[1m[35m (274.3ms)[0m [1m[35mCREATE DATABASE "rails_store_app_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.8ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 20:28:51.847914"], ["updated_at", "2022-02-06 20:28:51.847914"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 20:28:51.860609"], ["updated_at", "2022-02-06 20:28:51.860609"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "likes" CASCADE[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "likes" ("id" bigserial primary key, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_likes_on_product_id" ON "likes" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_likes_on_user_id" ON "likes" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "orders" CASCADE[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "orders" ("id" bigserial primary key, "quantity" integer, "product_id" bigint NOT NULL, "total" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "user_id" bigint)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_orders_on_product_id" ON "orders" ("product_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_orders_on_user_id" ON "orders" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products" CASCADE[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "products" ("id" bigserial primary key, "sku" character varying, "name" character varying, "description" character varying, "price" float, "stock" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "likes_number" integer DEFAULT 0)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "reviews" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "reviews" ("id" bigserial primary key, "title" character varying, "content" character varying, "product_id" bigint NOT NULL, "user_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "rating" integer)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_reviews_on_product_id" ON "reviews" ("product_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_reviews_on_user_id" ON "reviews" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "taggings" CASCADE[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "taggings" ("id" bigserial primary key, "tag_id" bigint NOT NULL, "product_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_taggings_on_product_id" ON "taggings" ("product_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tags" CASCADE[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "tags" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "first_name" character varying, "last_name" character varying, "address" character varying, "phone" character varying, "admin" boolean DEFAULT FALSE)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_f7ed05ee50"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "likes" ADD CONSTRAINT "fk_rails_1e09b5dabf"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "orders" ADD CONSTRAINT "fk_rails_dfb33b2de0"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_bedd9094d4"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "reviews" ADD CONSTRAINT "fk_rails_74a66bd6c5"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_5e1376a5c2"
FOREIGN KEY (“product_id”)
REFERENCES "products" ("id")
[0m
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "taggings" ADD CONSTRAINT "fk_rails_9fcd2e236b"
FOREIGN KEY (“tag_id”)
REFERENCES "tags" ("id")
[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220206174759)[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20220129231648), (20220129235955), (20220130000707), (20220130001427), (20220130030530), (20220130030723), (20220130203435), (20220205203243), (20220205203317), (20220206002918), (20220206163004);
[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-06 20:28:52.024340"], ["updated_at", "2022-02-06 20:28:52.024340"]]
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-06 20:28:52.031979"], ["key", "environment"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "fd73647198f51433e283aa24a8caea63c6b5643c"], ["created_at", "2022-02-06 20:28:52.036662"], ["updated_at", "2022-02-06 20:28:52.036662"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews"[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone", "admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["email", "admin@applaudo.com"], ["encrypted_password", "$2a$12$LqPnMV3SLFuu9j1A.H8NgOpqxBSL4u3erlmQNntiD.GwJOYNBA1xK"], ["created_at", "2022-02-06 20:28:52.332592"], ["updated_at", "2022-02-06 20:28:52.332592"], ["first_name", "Admin"], ["last_name", "Applaudo Studios"], ["address", "Salvador"], ["phone", "123-456-7890"], ["admin", true]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "anonymous@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "anonymous@applaudo.com"], ["encrypted_password", "$2a$12$EBKR.zovW6IfuJ0bV8ZMfuys1AQ/IBtKmQnuRD.QHUU49iLxgq96a"], ["created_at", "2022-02-06 20:28:52.555985"], ["updated_at", "2022-02-06 20:28:52.555985"], ["first_name", "Anonymous"], ["last_name", "User"], ["address", "Some place"], ["phone", "000-000-0000"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "first_name", "last_name", "address", "phone") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["email", "gabriel@applaudo.com"], ["encrypted_password", "$2a$12$T70tXAzX3Ozf3SmIzloYT.uTEDijv2Cft8M2/A4Kp4A1zD57TdO9u"], ["created_at", "2022-02-06 20:28:52.779458"], ["updated_at", "2022-02-06 20:28:52.779458"], ["first_name", "Gabriel"], ["last_name", "Llerena Quenaya"], ["address", "Arequipa"], ["phone", "123-456-7890"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.7ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Sauces"], ["created_at", "2022-02-06 20:28:53.255143"], ["updated_at", "2022-02-06 20:28:53.255143"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Soups"], ["created_at", "2022-02-06 20:28:53.260278"], ["updated_at", "2022-02-06 20:28:53.260278"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4417-NSH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4417-NSH"], ["name", "Gorgeous Concrete Table"], ["description", "Electronics"], ["price", 12.0], ["stock", 16], ["created_at", "2022-02-06 20:28:53.294914"], ["updated_at", "2022-02-06 20:28:53.294914"]]
[1m[36mTagging Create (1.9ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 1], ["created_at", "2022-02-06 20:28:53.296816"], ["updated_at", "2022-02-06 20:28:53.296816"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 1], ["created_at", "2022-02-06 20:28:53.300945"], ["updated_at", "2022-02-06 20:28:53.300945"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (2.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 1], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.320795"], ["updated_at", "2022-02-06 20:28:53.320795"], ["rating", 5]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.5ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Miscellaneous"], ["created_at", "2022-02-06 20:28:53.329108"], ["updated_at", "2022-02-06 20:28:53.329108"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Dairy"], ["created_at", "2022-02-06 20:28:53.336170"], ["updated_at", "2022-02-06 20:28:53.336170"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "1803-JIT"], ["LIMIT", 1]]
[1m[36mProduct Create (1.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "1803-JIT"], ["name", "Rustic Wool Table"], ["description", "Grocery"], ["price", 13.0], ["stock", 41], ["created_at", "2022-02-06 20:28:53.343456"], ["updated_at", "2022-02-06 20:28:53.343456"]]
[1m[36mTagging Create (1.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 2], ["created_at", "2022-02-06 20:28:53.348258"], ["updated_at", "2022-02-06 20:28:53.348258"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 2], ["created_at", "2022-02-06 20:28:53.351473"], ["updated_at", "2022-02-06 20:28:53.351473"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 2], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.358918"], ["updated_at", "2022-02-06 20:28:53.358918"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Seeds"], ["created_at", "2022-02-06 20:28:53.364337"], ["updated_at", "2022-02-06 20:28:53.364337"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3707-WHH"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3707-WHH"], ["name", "Aerodynamic Cotton Watch"], ["description", "Industrial"], ["price", 10.0], ["stock", 38], ["created_at", "2022-02-06 20:28:53.371344"], ["updated_at", "2022-02-06 20:28:53.371344"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 3], ["created_at", "2022-02-06 20:28:53.372917"], ["updated_at", "2022-02-06 20:28:53.372917"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 3], ["created_at", "2022-02-06 20:28:53.374538"], ["updated_at", "2022-02-06 20:28:53.374538"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 3], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.381656"], ["updated_at", "2022-02-06 20:28:53.381656"], ["rating", 2]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Desserts"], ["created_at", "2022-02-06 20:28:53.387849"], ["updated_at", "2022-02-06 20:28:53.387849"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9553-AHM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9553-AHM"], ["name", "Fantastic Rubber Bench"], ["description", "Books"], ["price", 7.0], ["stock", 40], ["created_at", "2022-02-06 20:28:53.393883"], ["updated_at", "2022-02-06 20:28:53.393883"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 4], ["created_at", "2022-02-06 20:28:53.395299"], ["updated_at", "2022-02-06 20:28:53.395299"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 4], ["created_at", "2022-02-06 20:28:53.396779"], ["updated_at", "2022-02-06 20:28:53.396779"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 4], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.402836"], ["updated_at", "2022-02-06 20:28:53.402836"], ["rating", 2]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9390-ATG"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9390-ATG"], ["name", "Ergonomic Steel Computer"], ["description", "Tools, Grocery & Industrial"], ["price", 15.0], ["stock", 18], ["created_at", "2022-02-06 20:28:53.415102"], ["updated_at", "2022-02-06 20:28:53.415102"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 5], ["created_at", "2022-02-06 20:28:53.416947"], ["updated_at", "2022-02-06 20:28:53.416947"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 5], ["created_at", "2022-02-06 20:28:53.418885"], ["updated_at", "2022-02-06 20:28:53.418885"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 5], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.425145"], ["updated_at", "2022-02-06 20:28:53.425145"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Cereals"], ["created_at", "2022-02-06 20:28:53.429825"], ["updated_at", "2022-02-06 20:28:53.429825"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3080-WPY"], ["LIMIT", 1]]
[1m[36mProduct Create (1.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3080-WPY"], ["name", "Rustic Silk Keyboard"], ["description", "Garden, Clothing & Home"], ["price", 4.0], ["stock", 29], ["created_at", "2022-02-06 20:28:53.439135"], ["updated_at", "2022-02-06 20:28:53.439135"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 6], ["created_at", "2022-02-06 20:28:53.441960"], ["updated_at", "2022-02-06 20:28:53.441960"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 6], ["created_at", "2022-02-06 20:28:53.444565"], ["updated_at", "2022-02-06 20:28:53.444565"]]
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 6], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.452996"], ["updated_at", "2022-02-06 20:28:53.452996"], ["rating", 5]]
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Snacks"], ["created_at", "2022-02-06 20:28:53.459138"], ["updated_at", "2022-02-06 20:28:53.459138"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "2350-OZZ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.8ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "2350-OZZ"], ["name", "Gorgeous Bronze Gloves"], ["description", "Kids, Garden & Shoes"], ["price", 13.0], ["stock", 23], ["created_at", "2022-02-06 20:28:53.471815"], ["updated_at", "2022-02-06 20:28:53.471815"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 7], ["created_at", "2022-02-06 20:28:53.474826"], ["updated_at", "2022-02-06 20:28:53.474826"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 7], ["created_at", "2022-02-06 20:28:53.476489"], ["updated_at", "2022-02-06 20:28:53.476489"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 7], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.483454"], ["updated_at", "2022-02-06 20:28:53.483454"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5157-JMW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5157-JMW"], ["name", "Small Wooden Watch"], ["description", "Electronics"], ["price", 13.0], ["stock", 15], ["created_at", "2022-02-06 20:28:53.493791"], ["updated_at", "2022-02-06 20:28:53.493791"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 8], ["created_at", "2022-02-06 20:28:53.495969"], ["updated_at", "2022-02-06 20:28:53.495969"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 8], ["created_at", "2022-02-06 20:28:53.497519"], ["updated_at", "2022-02-06 20:28:53.497519"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 8], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.504756"], ["updated_at", "2022-02-06 20:28:53.504756"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.4ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Beverages"], ["created_at", "2022-02-06 20:28:53.509458"], ["updated_at", "2022-02-06 20:28:53.509458"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6043-CFD"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6043-CFD"], ["name", "Incredible Silk Watch"], ["description", "Electronics, Movies & Garden"], ["price", 11.0], ["stock", 42], ["created_at", "2022-02-06 20:28:53.520417"], ["updated_at", "2022-02-06 20:28:53.520417"]]
[1m[36mTagging Create (0.9ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 9], ["created_at", "2022-02-06 20:28:53.523165"], ["updated_at", "2022-02-06 20:28:53.523165"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 9], ["created_at", "2022-02-06 20:28:53.526269"], ["updated_at", "2022-02-06 20:28:53.526269"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.7ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 9], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.532673"], ["updated_at", "2022-02-06 20:28:53.532673"], ["rating", 3]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Nuts"], ["created_at", "2022-02-06 20:28:53.538571"], ["updated_at", "2022-02-06 20:28:53.538571"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4718-BAA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4718-BAA"], ["name", "Intelligent Marble Lamp"], ["description", "Games"], ["price", 2.0], ["stock", 44], ["created_at", "2022-02-06 20:28:53.548066"], ["updated_at", "2022-02-06 20:28:53.548066"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 10], ["created_at", "2022-02-06 20:28:53.550852"], ["updated_at", "2022-02-06 20:28:53.550852"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 10], ["created_at", "2022-02-06 20:28:53.553129"], ["updated_at", "2022-02-06 20:28:53.553129"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 10], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.560992"], ["updated_at", "2022-02-06 20:28:53.560992"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8289-CWI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8289-CWI"], ["name", "Rustic Marble Car"], ["description", "Outdoors & Tools"], ["price", 2.0], ["stock", 47], ["created_at", "2022-02-06 20:28:53.571827"], ["updated_at", "2022-02-06 20:28:53.571827"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 11], ["created_at", "2022-02-06 20:28:53.574185"], ["updated_at", "2022-02-06 20:28:53.574185"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 11], ["created_at", "2022-02-06 20:28:53.576380"], ["updated_at", "2022-02-06 20:28:53.576380"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 11], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.583376"], ["updated_at", "2022-02-06 20:28:53.583376"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4043-SNI"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4043-SNI"], ["name", "Sleek Iron Bottle"], ["description", "Outdoors, Shoes & Books"], ["price", 5.0], ["stock", 14], ["created_at", "2022-02-06 20:28:53.592773"], ["updated_at", "2022-02-06 20:28:53.592773"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 12], ["created_at", "2022-02-06 20:28:53.594551"], ["updated_at", "2022-02-06 20:28:53.594551"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 12], ["created_at", "2022-02-06 20:28:53.596120"], ["updated_at", "2022-02-06 20:28:53.596120"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 12], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.603140"], ["updated_at", "2022-02-06 20:28:53.603140"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Create (0.3ms)[0m [1m[32mINSERT INTO "tags" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Fats"], ["created_at", "2022-02-06 20:28:53.609088"], ["updated_at", "2022-02-06 20:28:53.609088"]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9520-KIV"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9520-KIV"], ["name", "Intelligent Leather Bottle"], ["description", "Jewelry, Baby & Games"], ["price", 3.0], ["stock", 24], ["created_at", "2022-02-06 20:28:53.620186"], ["updated_at", "2022-02-06 20:28:53.620186"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 13], ["created_at", "2022-02-06 20:28:53.622529"], ["updated_at", "2022-02-06 20:28:53.622529"]]
[1m[36mTagging Create (1.0ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 13], ["created_at", "2022-02-06 20:28:53.624936"], ["updated_at", "2022-02-06 20:28:53.624936"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.8ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 13], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.634011"], ["updated_at", "2022-02-06 20:28:53.634011"], ["rating", 5]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7435-BSI"], ["LIMIT", 1]]
[1m[36mProduct Create (1.7ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7435-BSI"], ["name", "Awesome Iron Car"], ["description", "Electronics & Music"], ["price", 13.0], ["stock", 15], ["created_at", "2022-02-06 20:28:53.644801"], ["updated_at", "2022-02-06 20:28:53.644801"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 14], ["created_at", "2022-02-06 20:28:53.647927"], ["updated_at", "2022-02-06 20:28:53.647927"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 14], ["created_at", "2022-02-06 20:28:53.649783"], ["updated_at", "2022-02-06 20:28:53.649783"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 14], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.655855"], ["updated_at", "2022-02-06 20:28:53.655855"], ["rating", 2]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8974-GZF"], ["LIMIT", 1]]
[1m[36mProduct Create (1.0ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8974-GZF"], ["name", "Awesome Paper Watch"], ["description", "Health & Tools"], ["price", 2.0], ["stock", 38], ["created_at", "2022-02-06 20:28:53.668659"], ["updated_at", "2022-02-06 20:28:53.668659"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 15], ["created_at", "2022-02-06 20:28:53.672320"], ["updated_at", "2022-02-06 20:28:53.672320"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 15], ["created_at", "2022-02-06 20:28:53.674919"], ["updated_at", "2022-02-06 20:28:53.674919"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 15], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.680643"], ["updated_at", "2022-02-06 20:28:53.680643"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4587-YVA"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4587-YVA"], ["name", "Intelligent Rubber Table"], ["description", "Home"], ["price", 14.0], ["stock", 29], ["created_at", "2022-02-06 20:28:53.689246"], ["updated_at", "2022-02-06 20:28:53.689246"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 16], ["created_at", "2022-02-06 20:28:53.690865"], ["updated_at", "2022-02-06 20:28:53.690865"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 16], ["created_at", "2022-02-06 20:28:53.693910"], ["updated_at", "2022-02-06 20:28:53.693910"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.7ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 16], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.702227"], ["updated_at", "2022-02-06 20:28:53.702227"], ["rating", 3]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3819-EAT"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3819-EAT"], ["name", "Ergonomic Leather Lamp"], ["description", "Electronics"], ["price", 3.0], ["stock", 30], ["created_at", "2022-02-06 20:28:53.714968"], ["updated_at", "2022-02-06 20:28:53.714968"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 17], ["created_at", "2022-02-06 20:28:53.717458"], ["updated_at", "2022-02-06 20:28:53.717458"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 17], ["created_at", "2022-02-06 20:28:53.719463"], ["updated_at", "2022-02-06 20:28:53.719463"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.9ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 17], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.725090"], ["updated_at", "2022-02-06 20:28:53.725090"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "5663-PXW"], ["LIMIT", 1]]
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "5663-PXW"], ["name", "Synergistic Bronze Shoes"], ["description", "Books, Clothing & Baby"], ["price", 6.0], ["stock", 17], ["created_at", "2022-02-06 20:28:53.735033"], ["updated_at", "2022-02-06 20:28:53.735033"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 18], ["created_at", "2022-02-06 20:28:53.737998"], ["updated_at", "2022-02-06 20:28:53.737998"]]
[1m[36mTagging Create (0.8ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 9], ["product_id", 18], ["created_at", "2022-02-06 20:28:53.741923"], ["updated_at", "2022-02-06 20:28:53.741923"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (1.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 18], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.750271"], ["updated_at", "2022-02-06 20:28:53.750271"], ["rating", 1]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7645-YMP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7645-YMP"], ["name", "Durable Copper Clock"], ["description", "Home & Kids"], ["price", 1.0], ["stock", 42], ["created_at", "2022-02-06 20:28:53.763111"], ["updated_at", "2022-02-06 20:28:53.763111"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 19], ["created_at", "2022-02-06 20:28:53.764688"], ["updated_at", "2022-02-06 20:28:53.764688"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 19], ["created_at", "2022-02-06 20:28:53.766152"], ["updated_at", "2022-02-06 20:28:53.766152"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 19], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.772056"], ["updated_at", "2022-02-06 20:28:53.772056"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8045-XJP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8045-XJP"], ["name", "Intelligent Wooden Lamp"], ["description", "Movies"], ["price", 5.0], ["stock", 10], ["created_at", "2022-02-06 20:28:53.780076"], ["updated_at", "2022-02-06 20:28:53.780076"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 20], ["created_at", "2022-02-06 20:28:53.782155"], ["updated_at", "2022-02-06 20:28:53.782155"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 20], ["created_at", "2022-02-06 20:28:53.784572"], ["updated_at", "2022-02-06 20:28:53.784572"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 20], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.789959"], ["updated_at", "2022-02-06 20:28:53.789959"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8956-NSC"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8956-NSC"], ["name", "Gorgeous Copper Bag"], ["description", "Music"], ["price", 7.0], ["stock", 17], ["created_at", "2022-02-06 20:28:53.804131"], ["updated_at", "2022-02-06 20:28:53.804131"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 21], ["created_at", "2022-02-06 20:28:53.806223"], ["updated_at", "2022-02-06 20:28:53.806223"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 21], ["created_at", "2022-02-06 20:28:53.807876"], ["updated_at", "2022-02-06 20:28:53.807876"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 21], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.813112"], ["updated_at", "2022-02-06 20:28:53.813112"], ["rating", 2]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9151-BZY"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9151-BZY"], ["name", "Heavy Duty Wooden Table"], ["description", "Clothing"], ["price", 7.0], ["stock", 34], ["created_at", "2022-02-06 20:28:53.822191"], ["updated_at", "2022-02-06 20:28:53.822191"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 22], ["created_at", "2022-02-06 20:28:53.823711"], ["updated_at", "2022-02-06 20:28:53.823711"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 22], ["created_at", "2022-02-06 20:28:53.825118"], ["updated_at", "2022-02-06 20:28:53.825118"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.3ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 22], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.831686"], ["updated_at", "2022-02-06 20:28:53.831686"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6717-YGP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6717-YGP"], ["name", "Ergonomic Rubber Car"], ["description", "Games, Electronics & Home"], ["price", 13.0], ["stock", 11], ["created_at", "2022-02-06 20:28:53.841817"], ["updated_at", "2022-02-06 20:28:53.841817"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 23], ["created_at", "2022-02-06 20:28:53.843383"], ["updated_at", "2022-02-06 20:28:53.843383"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 23], ["created_at", "2022-02-06 20:28:53.845165"], ["updated_at", "2022-02-06 20:28:53.845165"]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.5ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 23], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.851934"], ["updated_at", "2022-02-06 20:28:53.851934"], ["rating", 3]]
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "7027-MZJ"], ["LIMIT", 1]]
[1m[36mProduct Create (0.4ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "7027-MZJ"], ["name", "Fantastic Iron Computer"], ["description", "Music"], ["price", 1.0], ["stock", 14], ["created_at", "2022-02-06 20:28:53.861348"], ["updated_at", "2022-02-06 20:28:53.861348"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 24], ["created_at", "2022-02-06 20:28:53.863515"], ["updated_at", "2022-02-06 20:28:53.863515"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 2], ["product_id", 24], ["created_at", "2022-02-06 20:28:53.865055"], ["updated_at", "2022-02-06 20:28:53.865055"]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 24], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.870299"], ["updated_at", "2022-02-06 20:28:53.870299"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Fats"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "8305-SYL"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "8305-SYL"], ["name", "Enormous Cotton Pants"], ["description", "Toys"], ["price", 8.0], ["stock", 10], ["created_at", "2022-02-06 20:28:53.879080"], ["updated_at", "2022-02-06 20:28:53.879080"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 8], ["product_id", 25], ["created_at", "2022-02-06 20:28:53.880579"], ["updated_at", "2022-02-06 20:28:53.880579"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 11], ["product_id", 25], ["created_at", "2022-02-06 20:28:53.882060"], ["updated_at", "2022-02-06 20:28:53.882060"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 25], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.889166"], ["updated_at", "2022-02-06 20:28:53.889166"], ["rating", 5]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6607-GQP"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6607-GQP"], ["name", "Incredible Paper Table"], ["description", "Shoes, Games & Jewelry"], ["price", 13.0], ["stock", 35], ["created_at", "2022-02-06 20:28:53.898981"], ["updated_at", "2022-02-06 20:28:53.898981"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 10], ["product_id", 26], ["created_at", "2022-02-06 20:28:53.900522"], ["updated_at", "2022-02-06 20:28:53.900522"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 26], ["created_at", "2022-02-06 20:28:53.902143"], ["updated_at", "2022-02-06 20:28:53.902143"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 26], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.909268"], ["updated_at", "2022-02-06 20:28:53.909268"], ["rating", 4]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "9415-QED"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "9415-QED"], ["name", "Ergonomic Cotton Lamp"], ["description", "Music & Garden"], ["price", 1.0], ["stock", 14], ["created_at", "2022-02-06 20:28:53.920097"], ["updated_at", "2022-02-06 20:28:53.920097"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 7], ["product_id", 27], ["created_at", "2022-02-06 20:28:53.922049"], ["updated_at", "2022-02-06 20:28:53.922049"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 3], ["product_id", 27], ["created_at", "2022-02-06 20:28:53.923564"], ["updated_at", "2022-02-06 20:28:53.923564"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (1.0ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 27], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.930011"], ["updated_at", "2022-02-06 20:28:53.930011"], ["rating", 4]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "4096-OEM"], ["LIMIT", 1]]
[1m[36mProduct Create (0.5ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "4096-OEM"], ["name", "Sleek Marble Plate"], ["description", "Home, Automotive & Clothing"], ["price", 3.0], ["stock", 26], ["created_at", "2022-02-06 20:28:53.939327"], ["updated_at", "2022-02-06 20:28:53.939327"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 4], ["product_id", 28], ["created_at", "2022-02-06 20:28:53.941396"], ["updated_at", "2022-02-06 20:28:53.941396"]]
[1m[36mTagging Create (0.4ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 28], ["created_at", "2022-02-06 20:28:53.943509"], ["updated_at", "2022-02-06 20:28:53.943509"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 28], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.949153"], ["updated_at", "2022-02-06 20:28:53.949153"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "6489-AYO"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "6489-AYO"], ["name", "Sleek Iron Car"], ["description", "Automotive, Computers & Baby"], ["price", 14.0], ["stock", 24], ["created_at", "2022-02-06 20:28:53.958360"], ["updated_at", "2022-02-06 20:28:53.958360"]]
[1m[36mTagging Create (0.6ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 5], ["product_id", 29], ["created_at", "2022-02-06 20:28:53.959862"], ["updated_at", "2022-02-06 20:28:53.959862"]]
[1m[36mTagging Create (0.5ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 29], ["created_at", "2022-02-06 20:28:53.962405"], ["updated_at", "2022-02-06 20:28:53.962405"]]
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 29], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.968964"], ["updated_at", "2022-02-06 20:28:53.968964"], ["rating", 3]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTag Load (0.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 ORDER BY "tags"."id" ASC LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:23:in `block in tag_list='
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mProduct Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", "3969-UPN"], ["LIMIT", 1]]
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "name", "description", "price", "stock", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["sku", "3969-UPN"], ["name", "Aerodynamic Cotton Table"], ["description", "Kids, Automotive & Movies"], ["price", 14.0], ["stock", 17], ["created_at", "2022-02-06 20:28:53.978005"], ["updated_at", "2022-02-06 20:28:53.978005"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 1], ["product_id", 30], ["created_at", "2022-02-06 20:28:53.979558"], ["updated_at", "2022-02-06 20:28:53.979558"]]
[1m[36mTagging Create (0.3ms)[0m [1m[32mINSERT INTO "taggings" ("tag_id", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["tag_id", 6], ["product_id", 30], ["created_at", "2022-02-06 20:28:53.981004"], ["updated_at", "2022-02-06 20:28:53.981004"]]
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mReview Create (0.4ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Excellent product!"], ["content", "Some description for the product"], ["product_id", 30], ["user_id", 2], ["created_at", "2022-02-06 20:28:53.987013"], ["updated_at", "2022-02-06 20:28:53.987013"], ["rating", 5]]
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mCOMMIT[0m
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 15:29:03 -0500
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Redirected to localhost:3000/ Filter chain halted as :verify_signed_out_user rendered or redirected Completed 302 Found in 273ms (ActiveRecord: 9.8ms | Allocations: 355496)
Started GET “/” for ::1 at 2022-02-06 15:29:03 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.4ms | Allocations: 814)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 6.6ms | Allocations: 1455) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 209) Rendered layout layouts/application.html.erb (Duration: 254.8ms | Allocations: 50846)
Completed 200 OK in 265ms (Views: 259.0ms | ActiveRecord: 0.0ms | Allocations: 53811)
Started GET “/products” for ::1 at 2022-02-06 15:29:04 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (4.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 201.1ms | Allocations: 89084)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 216.7ms | Allocations: 102634)
Completed 200 OK in 227ms (Views: 140.3ms | ActiveRecord: 78.5ms | Allocations: 107112)
Started GET “/products/29” for ::1 at 2022-02-06 15:29:06 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 54.3ms | Allocations: 17973)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 869) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 69.7ms | Allocations: 31509)
Completed 200 OK in 103ms (Views: 64.9ms | ActiveRecord: 18.3ms | Allocations: 41866)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:29:07 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:11:in `create'
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:19:in `create'
[1m[36mProduct Exists? (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:19:in `create'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 23], ["updated_at", "2022-02-06 20:29:07.579376"], ["id", 29]]
↳ app/controllers/orders_controller.rb:19:in `create'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:19:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:20:in `create'
[1m[36mOrder Create (1.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 29], ["created_at", "2022-02-06 20:29:07.586923"], ["updated_at", "2022-02-06 20:29:07.586923"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:20:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:20:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 31ms (ActiveRecord: 12.8ms | Allocations: 9569)
Started GET “/orders” for ::1 at 2022-02-06 15:29:07 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 2341)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 939) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 21.5ms | Allocations: 16155)
Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 1.9ms | Allocations: 17137)
Started DELETE “/orders/1?order_id=1” for ::1 at 2022-02-06 15:29:15 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"1", "id"=>"1"}
[1m[36mOrder Load (1.3ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:36:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:28:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:29:in `destroy'
[1m[36mOrder Destroy (0.9ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 1]]
↳ app/controllers/orders_controller.rb:29:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:29:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 14ms (ActiveRecord: 3.8ms | Allocations: 3242)
Started GET “/orders” for ::1 at 2022-02-06 15:29:15 -0500 Processing by OrdersController#index as HTML
Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 942) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 22.5ms | Allocations: 14688)
Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 1.1ms | Allocations: 15092)
Started GET “/products” for ::1 at 2022-02-06 15:29:17 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 155.3ms | Allocations: 72729)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 170.7ms | Allocations: 86422)
Completed 200 OK in 173ms (Views: 116.0ms | ActiveRecord: 55.0ms | Allocations: 87031)
Started GET “/products/30” for ::1 at 2022-02-06 15:29:47 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 9600)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.1ms | Allocations: 23127)
Completed 200 OK in 56ms (Views: 41.4ms | ActiveRecord: 10.5ms | Allocations: 24264)
Started GET “/products/30” for ::1 at 2022-02-06 15:30:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (6.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (3.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 42.3ms | Allocations: 8701)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.2ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 75.2ms | Allocations: 23123)
Completed 200 OK in 80ms (Views: 60.5ms | ActiveRecord: 16.2ms | Allocations: 24279)
Started GET “/products/28” for ::1 at 2022-02-06 15:30:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 25.0ms | Allocations: 9579)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.8ms | Allocations: 23166)
Completed 200 OK in 54ms (Views: 43.5ms | ActiveRecord: 7.9ms | Allocations: 24305)
Started GET “/tags/Soups” for ::1 at 2022-02-06 15:30:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Soups"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Soups"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 2]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 67.0ms | Allocations: 15217)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 85.0ms | Allocations: 28745)
Completed 200 OK in 91ms (Views: 69.4ms | ActiveRecord: 17.0ms | Allocations: 30511)
Started GET “/tags/Snacks” for ::1 at 2022-02-06 15:30:36 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Snacks"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Snacks"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 8]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 34.2ms | Allocations: 13627)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.2ms | Allocations: 27969)
Completed 200 OK in 57ms (Views: 41.0ms | ActiveRecord: 13.0ms | Allocations: 29192)
Started GET “/tags/Desserts” for ::1 at 2022-02-06 15:30:37 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 40.4ms | Allocations: 16722)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 59.3ms | Allocations: 30348)
Completed 200 OK in 63ms (Views: 44.3ms | ActiveRecord: 16.1ms | Allocations: 31540)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-06 15:30:37 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 77.3ms | Allocations: 21403)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 92.0ms | Allocations: 35035)
Completed 200 OK in 98ms (Views: 73.7ms | ActiveRecord: 20.4ms | Allocations: 36228)
Started GET “/products” for ::1 at 2022-02-06 15:30:38 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 187.4ms | Allocations: 72704)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 202.8ms | Allocations: 86330)
Completed 200 OK in 205ms (Views: 142.2ms | ActiveRecord: 61.1ms | Allocations: 86937)
Started GET “/tags/Cereals” for ::1 at 2022-02-06 15:30:39 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Cereals"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Cereals"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 7]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 39.2ms | Allocations: 16711)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.5ms | Allocations: 30396)
Completed 200 OK in 58ms (Views: 39.5ms | ActiveRecord: 15.5ms | Allocations: 31589)
Started GET “/tags/Nuts” for ::1 at 2022-02-06 15:30:42 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 29.5ms | Allocations: 12028)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.1ms | Allocations: 25654)
Completed 200 OK in 49ms (Views: 35.1ms | ActiveRecord: 11.3ms | Allocations: 26846)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 15:30:44 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 172.3ms | Allocations: 72710)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 187.2ms | Allocations: 86338)
Completed 200 OK in 190ms (Views: 122.8ms | ActiveRecord: 65.0ms | Allocations: 86930)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 15:30:52 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (3.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 168.9ms | Allocations: 72732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 184.3ms | Allocations: 86417)
Completed 200 OK in 186ms (Views: 121.5ms | ActiveRecord: 63.3ms | Allocations: 87011)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 15:30:54 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 199.6ms | Allocations: 72702)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 215.5ms | Allocations: 86387)
Completed 200 OK in 218ms (Views: 155.7ms | ActiveRecord: 60.3ms | Allocations: 86981)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 15:30:56 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 194.2ms | Allocations: 72703)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 212.2ms | Allocations: 86329)
Completed 200 OK in 214ms (Views: 147.2ms | ActiveRecord: 65.5ms | Allocations: 86921)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 15:30:57 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (3.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 169.0ms | Allocations: 72723)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 184.0ms | Allocations: 86408)
Completed 200 OK in 187ms (Views: 121.1ms | ActiveRecord: 63.7ms | Allocations: 87001)
Started GET “/products/15” for ::1 at 2022-02-06 15:32:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 53.7ms | Allocations: 24327)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 70.1ms | Allocations: 37921)
Completed 200 OK in 116ms (Views: 50.8ms | ActiveRecord: 37.3ms | Allocations: 54948)
Started POST “/products/15/orders” for ::1 at 2022-02-06 15:32:39 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"15"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:15:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:19:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:23:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "8974-GZF"], ["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:23:in `create'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 37], ["updated_at", "2022-02-06 20:32:39.082481"], ["id", 15]]
↳ app/controllers/orders_controller.rb:23:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:23:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mOrder Create (1.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 15], ["created_at", "2022-02-06 20:32:39.089717"], ["updated_at", "2022-02-06 20:32:39.089717"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:24:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 29ms (ActiveRecord: 10.7ms | Allocations: 9356)
Started GET “/orders” for ::1 at 2022-02-06 15:32:39 -0500 Processing by OrdersController#index as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 1207)
NoMethodError (undefined method `id' for nil:NilClass):
app/controllers/orders_controller.rb:9:in `index' Started GET “/products/15” for ::1 at 2022-02-06 15:33:01 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 15]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 66.6ms | Allocations: 24327)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 85.0ms | Allocations: 37921)
Completed 200 OK in 146ms (Views: 63.7ms | ActiveRecord: 46.0ms | Allocations: 54900)
Started POST “/products/15/orders” for ::1 at 2022-02-06 15:33:02 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"15"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "8974-GZF"], ["id", 15], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 36], ["updated_at", "2022-02-06 20:33:02.941736"], ["id", 15]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mOrder Create (1.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 15], ["created_at", "2022-02-06 20:33:02.945727"], ["updated_at", "2022-02-06 20:33:02.945727"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:27:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 23ms (ActiveRecord: 9.2ms | Allocations: 9330)
Started GET “/orders” for ::1 at 2022-02-06 15:33:02 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:10:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 2]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.6ms | Allocations: 2472)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 896) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 16246)
Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 2.3ms | Allocations: 17586)
Started GET “/users/sign_in” for ::1 at 2022-02-06 15:33:08 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 608) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 18.8ms | Allocations: 10022)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 915) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 34.5ms | Allocations: 23747)
Completed 200 OK in 41ms (Views: 38.1ms | ActiveRecord: 0.0ms | Allocations: 25631)
Started POST “/users/sign_in” for ::1 at 2022-02-06 15:33:20 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 251ms (ActiveRecord: 1.1ms | Allocations: 4142)
Started GET “/” for ::1 at 2022-02-06 15:33:20 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.5ms | Allocations: 2044) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 14987)
Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 1.0ms | Allocations: 15566)
Started GET “/products” for ::1 at 2022-02-06 15:33:22 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 166.9ms | Allocations: 73588)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 876) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 181.1ms | Allocations: 87230)
Completed 200 OK in 183ms (Views: 119.7ms | ActiveRecord: 61.8ms | Allocations: 87842)
Started GET “/products/29” for ::1 at 2022-02-06 15:33:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 36.4ms | Allocations: 20306)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.1ms | Allocations: 33986)
Completed 200 OK in 61ms (Views: 49.1ms | ActiveRecord: 9.2ms | Allocations: 35128)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:33:26 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 22], ["updated_at", "2022-02-06 20:33:26.672176"], ["id", 29]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 17.6ms | Allocations: 9726)
Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 9790)
Completed 500 Internal Server Error in 35ms (ActiveRecord: 11.1ms | Allocations: 16540)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
89: <hr> 90: <div class='review-form'> 91: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 92: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 93: <%= f.input :title %> 94: <%= f.input :content, as: :text %> 95: <%= f.input :rating %>
app/views/products/show.html.erb:92 app/controllers/orders_controller.rb:30:in `create' Started GET “/products/29” for ::1 at 2022-02-06 15:33:51 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.5ms | Allocations: 18827)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 32420)
Completed 200 OK in 47ms (Views: 37.5ms | ActiveRecord: 6.9ms | Allocations: 33557)
Started POST “/products/29/likes” for ::1 at 2022-02-06 15:33:53 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.7ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 20:33:53.139224"], ["updated_at", "2022-02-06 20:33:53.139224"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:33:53.151240"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 35ms (ActiveRecord: 15.5ms | Allocations: 14625)
Started GET “/products/29” for ::1 at 2022-02-06 15:33:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 31.6ms | Allocations: 18874)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.2ms | Allocations: 32469)
Completed 200 OK in 49ms (Views: 40.8ms | ActiveRecord: 6.5ms | Allocations: 33608)
Started DELETE “/products/29/likes/1” for ::1 at 2022-02-06 15:33:54 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"1"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 1], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 1]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:33:54.096195"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 12.1ms | Allocations: 10387)
Started GET “/products/29” for ::1 at 2022-02-06 15:33:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 30.0ms | Allocations: 18820)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.8ms | Allocations: 32354)
Completed 200 OK in 49ms (Views: 40.4ms | ActiveRecord: 6.3ms | Allocations: 33492)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:33:55 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 21], ["updated_at", "2022-02-06 20:33:55.376290"], ["id", 29]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.6ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 25.3ms | Allocations: 9686)
Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 9750)
Completed 500 Internal Server Error in 49ms (ActiveRecord: 15.5ms | Allocations: 16472)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
89: <hr> 90: <div class='review-form'> 91: <p class='text-center mb-5' style='font-size: 25px'>Leave us a comment</p> 92: <%= simple_form_for([ @product, @review ], remote: true) do |f| %> 93: <%= f.input :title %> 94: <%= f.input :content, as: :text %> 95: <%= f.input :rating %>
app/views/products/show.html.erb:92 app/controllers/orders_controller.rb:30:in `create' Started GET “/products/29” for ::1 at 2022-02-06 15:34:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 57.8ms | Allocations: 34811)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 72.3ms | Allocations: 48414)
Completed 200 OK in 110ms (Views: 54.6ms | ActiveRecord: 32.4ms | Allocations: 65421)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:34:31 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 20], ["updated_at", "2022-02-06 20:34:31.940286"], ["id", 29]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mOrder Create (1.0ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 29], ["created_at", "2022-02-06 20:34:31.946024"], ["updated_at", "2022-02-06 20:34:31.946024"], ["user_id", 3]]
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:27:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 25ms (ActiveRecord: 9.3ms | Allocations: 9410)
Started GET “/orders” for ::1 at 2022-02-06 15:34:31 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index'
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.7ms | Allocations: 2074)
NoMethodError (undefined method `id' for nil:NilClass):
app/controllers/orders_controller.rb:12:in `index' Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:34:49 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:34:53 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:35:17 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:35:17 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:35:20 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:35:21 -0500 Started PUT “/__web_console/repl_sessions/dc7eb77bca22f254ca55cae22b961109” for ::1 at 2022-02-06 15:36:34 -0500
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT $1[0m [["LIMIT", 1]] [1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]]
Started GET “/orders” for ::1 at 2022-02-06 15:37:11 -0500 Processing by OrdersController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 1091)
RuntimeError ():
app/controllers/orders_controller.rb:6:in `index' Started PUT “/__web_console/repl_sessions/23e5ed699aefd62bde9c5cff641a291d” for ::1 at 2022-02-06 15:37:13 -0500 Started PUT “/__web_console/repl_sessions/23e5ed699aefd62bde9c5cff641a291d” for ::1 at 2022-02-06 15:37:15 -0500 Started GET “/” for ::1 at 2022-02-06 15:37:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 27.0ms | Allocations: 8156) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 63.9ms | Allocations: 21089)
Completed 200 OK in 66ms (Views: 54.8ms | ActiveRecord: 10.5ms | Allocations: 21660)
Started GET “/users/edit” for ::1 at 2022-02-06 15:37:20 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 31.8ms | Allocations: 15259)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 54.9ms | Allocations: 29835)
Completed 200 OK in 62ms (Views: 57.2ms | ActiveRecord: 0.9ms | Allocations: 32264)
Started GET “/orders” for ::1 at 2022-02-06 15:37:24 -0500 Processing by OrdersController#index as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 571)
RuntimeError ():
app/controllers/orders_controller.rb:6:in `index' Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:27 -0500 Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:28 -0500 Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:33 -0500 Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:34 -0500 Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:43 -0500 Started PUT “/__web_console/repl_sessions/91c0d470da0c9c9aed0850b52ea9314c” for ::1 at 2022-02-06 15:37:44 -0500
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index'
Started GET “/users/edit” for ::1 at 2022-02-06 15:38:08 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 15.0ms | Allocations: 14245)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 28.8ms | Allocations: 27982)
Completed 200 OK in 47ms (Views: 29.6ms | ActiveRecord: 6.6ms | Allocations: 35867)
Started GET “/users/edit” for ::1 at 2022-02-06 15:38:13 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 14.3ms | Allocations: 14223)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 30.3ms | Allocations: 27900)
Completed 200 OK in 48ms (Views: 31.1ms | ActiveRecord: 6.3ms | Allocations: 35764)
Started GET “/orders” for ::1 at 2022-02-06 15:38:14 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 36.0ms | Allocations: 13135)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 904) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 53.7ms | Allocations: 26815)
Completed 200 OK in 65ms (Views: 41.0ms | ActiveRecord: 17.3ms | Allocations: 29517)
Started GET “/products” for ::1 at 2022-02-06 15:38:25 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 170.5ms | Allocations: 81590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 184.8ms | Allocations: 95193)
Completed 200 OK in 188ms (Views: 119.5ms | ActiveRecord: 66.3ms | Allocations: 96001)
Started GET “/products/23” for ::1 at 2022-02-06 15:38:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 23]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 33.6ms | Allocations: 21163)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 873) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.2ms | Allocations: 34698)
Completed 200 OK in 71ms (Views: 43.2ms | ActiveRecord: 14.6ms | Allocations: 40963)
Started POST “/products/23/orders” for ::1 at 2022-02-06 15:38:31 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"3"}, "commit"=>"Buy", "product_id"=>"23"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6717-YGP"], ["id", 23], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 8], ["updated_at", "2022-02-06 20:38:31.720141"], ["id", 23]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 3], ["product_id", 23], ["created_at", "2022-02-06 20:38:31.724032"], ["updated_at", "2022-02-06 20:38:31.724032"], ["user_id", 3]]
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:27:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 23ms (ActiveRecord: 9.1ms | Allocations: 9026)
Started GET “/orders” for ::1 at 2022-02-06 15:38:31 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 21.0ms | Allocations: 16370)
Completed 200 OK in 24ms (Views: 18.8ms | ActiveRecord: 3.2ms | Allocations: 17767)
Started GET “/orders” for ::1 at 2022-02-06 15:38:36 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.2ms | Allocations: 2544)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 897) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 16311)
Completed 200 OK in 27ms (Views: 20.2ms | ActiveRecord: 4.0ms | Allocations: 17710)
Started GET “/orders” for ::1 at 2022-02-06 15:38:42 -0500 Processing by OrdersController#index as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 1091)
RuntimeError ():
app/controllers/orders_controller.rb:6:in `index' Started PUT “/__web_console/repl_sessions/13081f8ddff5f89fb0b4c66bf09de553” for ::1 at 2022-02-06 15:38:45 -0500 Started PUT “/__web_console/repl_sessions/13081f8ddff5f89fb0b4c66bf09de553” for ::1 at 2022-02-06 15:38:46 -0500
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index'
Started PUT “/__web_console/repl_sessions/13081f8ddff5f89fb0b4c66bf09de553” for ::1 at 2022-02-06 15:38:50 -0500 Started PUT “/__web_console/repl_sessions/13081f8ddff5f89fb0b4c66bf09de553” for ::1 at 2022-02-06 15:38:50 -0500 Started GET “/orders” for ::1 at 2022-02-06 15:40:27 -0500 Processing by OrdersController#index as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 1091)
RuntimeError ():
app/controllers/orders_controller.rb:6:in `index' Started GET “/orders” for ::1 at 2022-02-06 15:40:32 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 26.9ms | Allocations: 13140)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 26882)
Completed 200 OK in 65ms (Views: 32.6ms | ActiveRecord: 18.3ms | Allocations: 35985)
Started GET “/orders” for ::1 at 2022-02-06 15:41:12 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 25.8ms | Allocations: 13136)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 49.9ms | Allocations: 26818)
Completed 200 OK in 73ms (Views: 41.0ms | ActiveRecord: 18.5ms | Allocations: 35894)
Started GET “/products” for ::1 at 2022-02-06 15:41:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 200.7ms | Allocations: 81566)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 240.2ms | Allocations: 95181)
Completed 200 OK in 243ms (Views: 169.2ms | ActiveRecord: 71.9ms | Allocations: 95989)
Started GET “/products/27” for ::1 at 2022-02-06 15:41:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"27"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (2.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 47.7ms | Allocations: 22048)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 64.5ms | Allocations: 35645)
Completed 200 OK in 83ms (Views: 55.5ms | ActiveRecord: 17.0ms | Allocations: 41045)
Started GET “/” for ::1 at 2022-02-06 15:41:18 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.3ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2040) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 28.9ms | Allocations: 15815)
Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.8ms | Allocations: 16389)
Started GET “/products” for ::1 at 2022-02-06 15:41:19 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 195.1ms | Allocations: 73567)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 215.5ms | Allocations: 87200)
Completed 200 OK in 218ms (Views: 150.6ms | ActiveRecord: 65.5ms | Allocations: 87812)
Started GET “/tags/Nuts” for ::1 at 2022-02-06 15:41:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 29.5ms | Allocations: 13733)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.2ms | Allocations: 27268)
Completed 200 OK in 51ms (Views: 35.9ms | ActiveRecord: 10.8ms | Allocations: 29029)
Started GET “/products/16” for ::1 at 2022-02-06 15:41:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (2.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.6ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 16]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 37.6ms | Allocations: 19738)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.1ms | Allocations: 33331)
Completed 200 OK in 57ms (Views: 44.1ms | ActiveRecord: 10.2ms | Allocations: 34473)
Started POST “/products/16/orders” for ::1 at 2022-02-06 15:41:22 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"16"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4587-YVA"], ["id", 16], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 28], ["updated_at", "2022-02-06 20:41:22.560714"], ["id", 16]]
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:30:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 16], ["created_at", "2022-02-06 20:41:22.564944"], ["updated_at", "2022-02-06 20:41:22.564944"], ["user_id", 3]]
↳ app/controllers/orders_controller.rb:30:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:30:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 22ms (ActiveRecord: 9.0ms | Allocations: 9035)
Started GET “/orders” for ::1 at 2022-02-06 15:41:22 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.5ms | Allocations: 3452)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 17279)
Completed 200 OK in 27ms (Views: 20.7ms | ActiveRecord: 4.5ms | Allocations: 18677)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 15:41:25 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms | Allocations: 2476)
Started GET “/” for ::1 at 2022-02-06 15:41:25 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 948) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 15.8ms | Allocations: 13868)
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms | Allocations: 14259)
Started GET “/products” for ::1 at 2022-02-06 15:41:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 140.1ms | Allocations: 72732)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 866) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 154.2ms | Allocations: 86359)
Completed 200 OK in 157ms (Views: 101.4ms | ActiveRecord: 53.4ms | Allocations: 86967)
Started GET “/products/29” for ::1 at 2022-02-06 15:41:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 22.0ms | Allocations: 9491)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.7ms | Allocations: 23122)
Completed 200 OK in 42ms (Views: 33.6ms | ActiveRecord: 6.2ms | Allocations: 24259)
Started GET “/products” for ::1 at 2022-02-06 15:41:31 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 157.4ms | Allocations: 72725)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 867) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 174.5ms | Allocations: 86410)
Completed 200 OK in 182ms (Views: 115.0ms | ActiveRecord: 59.9ms | Allocations: 87018)
Started GET “/tags/Miscellaneous” for ::1 at 2022-02-06 15:41:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Miscellaneous"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Miscellaneous"], ["LIMIT", 1]]
↳ app/models/product.rb:9:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 3]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 51.1ms | Allocations: 21392)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 66.0ms | Allocations: 35018)
Completed 200 OK in 69ms (Views: 45.9ms | ActiveRecord: 21.2ms | Allocations: 36210)
Started GET “/products/12” for ::1 at 2022-02-06 15:41:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 23.6ms | Allocations: 9599)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.0ms | Allocations: 23126)
Completed 200 OK in 43ms (Views: 32.5ms | ActiveRecord: 7.0ms | Allocations: 24263)
Started POST “/products/12/orders” for ::1 at 2022-02-06 15:41:36 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"12"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `create'
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.9ms | Allocations: 2163)
ActiveRecord::AssociationTypeMismatch (User(#63480) expected, got 2 which is an instance of Integer(#3740)):
app/controllers/orders_controller.rb:23:in `create' Started PUT “/__web_console/repl_sessions/5d2c566911987c83468de0d772c32b23” for ::1 at 2022-02-06 15:41:48 -0500 Started PUT “/__web_console/repl_sessions/5d2c566911987c83468de0d772c32b23” for ::1 at 2022-02-06 15:41:51 -0500 Started POST “/products/12/orders” for ::1 at 2022-02-06 15:42:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"12"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `create'
Completed 500 Internal Server Error in 53ms (ActiveRecord: 18.1ms | Allocations: 20140)
ActiveRecord::AssociationTypeMismatch (User(#68600) expected, got 2 which is an instance of Integer(#3740)):
app/controllers/orders_controller.rb:23:in `create' Started GET “/products/12” for ::1 at 2022-02-06 15:42:24 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 12]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 37.3ms | Allocations: 18550)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 51.5ms | Allocations: 32144)
Completed 200 OK in 71ms (Views: 39.5ms | ActiveRecord: 17.9ms | Allocations: 37613)
Started POST “/products/12/orders” for ::1 at 2022-02-06 15:42:26 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"12"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `create'
Completed 500 Internal Server Error in 4ms (ActiveRecord: 1.2ms | Allocations: 2043)
ActiveRecord::AssociationTypeMismatch (User(#68600) expected, got 2 which is an instance of Integer(#3740)):
app/controllers/orders_controller.rb:23:in `create' Started POST “/products/12/orders” for ::1 at 2022-02-06 15:42:50 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"10"}, "commit"=>"Buy", "product_id"=>"12"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:22:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "4043-SNI"], ["id", 12], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 4], ["updated_at", "2022-02-06 20:42:51.037074"], ["id", 12]]
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mOrder Create (0.9ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 10], ["product_id", 12], ["created_at", "2022-02-06 20:42:51.041695"], ["updated_at", "2022-02-06 20:42:51.041695"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:29:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 79ms (ActiveRecord: 31.6ms | Allocations: 32892)
Started GET “/orders” for ::1 at 2022-02-06 15:42:51 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:9:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 2]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.2ms | Allocations: 3375)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 17207)
Completed 200 OK in 29ms (Views: 23.1ms | ActiveRecord: 3.7ms | Allocations: 18547)
Started GET “/users/sign_in” for ::1 at 2022-02-06 15:43:09 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.0ms | Allocations: 8812)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 23.0ms | Allocations: 1687) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 55.6ms | Allocations: 23371)
Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms | Allocations: 24234)
Started POST “/users/sign_in” for ::1 at 2022-02-06 15:43:14 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 223ms (ActiveRecord: 1.0ms | Allocations: 2556)
Started GET “/” for ::1 at 2022-02-06 15:43:14 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 14926)
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.7ms | Allocations: 15504)
Started GET “/orders” for ::1 at 2022-02-06 15:43:17 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.7ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (2.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mCACHE Product Load (0.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 41.3ms | Allocations: 5993)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 58.8ms | Allocations: 19777)
Completed 200 OK in 119ms (Views: 86.6ms | ActiveRecord: 9.7ms | Allocations: 21936)
Started DELETE “/orders/2?order_id=2” for ::1 at 2022-02-06 15:45:18 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"2", "id"=>"2"}
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 2]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 10ms (ActiveRecord: 3.5ms | Allocations: 3202)
Started GET “/orders” for ::1 at 2022-02-06 15:45:18 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 13.6ms | Allocations: 5248)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 897) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 33.8ms | Allocations: 19015)
Completed 200 OK in 37ms (Views: 28.9ms | ActiveRecord: 6.0ms | Allocations: 20381)
Started DELETE “/orders/7?order_id=7” for ::1 at 2022-02-06 15:45:21 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"7", "id"=>"7"}
[1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (0.7ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 7]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 9ms (ActiveRecord: 3.1ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:45:21 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 8.8ms | Allocations: 4341)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 897) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 18108)
Completed 200 OK in 27ms (Views: 19.5ms | ActiveRecord: 4.8ms | Allocations: 19474)
Started DELETE “/orders/3?order_id=3” for ::1 at 2022-02-06 15:45:23 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"3", "id"=>"3"}
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (2.4ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 3]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 13ms (ActiveRecord: 5.7ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:45:23 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (2.0ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 10.7ms | Allocations: 3433)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 900) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 34.6ms | Allocations: 17242)
Completed 200 OK in 40ms (Views: 30.4ms | ActiveRecord: 5.4ms | Allocations: 18609)
Started DELETE “/orders/4?order_id=4” for ::1 at 2022-02-06 15:45:25 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"4", "id"=>"4"}
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (1.0ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 4]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 9ms (ActiveRecord: 3.6ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:45:25 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 7.0ms | Allocations: 2526)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 22.7ms | Allocations: 16353)
Completed 200 OK in 27ms (Views: 20.1ms | ActiveRecord: 3.7ms | Allocations: 17719)
Started DELETE “/orders/5?order_id=5” for ::1 at 2022-02-06 15:45:27 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"5", "id"=>"5"}
[1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (1.3ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 5]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 10ms (ActiveRecord: 4.2ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:45:27 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 4.9ms | Allocations: 1619)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 21.8ms | Allocations: 15427)
Completed 200 OK in 26ms (Views: 20.3ms | ActiveRecord: 2.7ms | Allocations: 16794)
Started DELETE “/orders/6?order_id=6” for ::1 at 2022-02-06 15:45:29 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"6", "id"=>"6"}
[1m[36mOrder Load (0.6ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 6]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 10ms (ActiveRecord: 3.2ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:45:29 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 702)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 21.5ms | Allocations: 14479)
Completed 200 OK in 29ms (Views: 21.0ms | ActiveRecord: 3.8ms | Allocations: 15845)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 15:45:30 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms | Allocations: 2070)
Started GET “/” for ::1 at 2022-02-06 15:45:30 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 943) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 61) Rendered layout layouts/application.html.erb (Duration: 14.7ms | Allocations: 13863)
Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms | Allocations: 14254)
Started GET “/orders” for ::1 at 2022-02-06 15:45:31 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:9:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 2]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 15373)
Completed 200 OK in 25ms (Views: 21.2ms | ActiveRecord: 1.4ms | Allocations: 16597)
Started GET “/users/sign_in” for ::1 at 2022-02-06 15:45:33 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.1ms | Allocations: 8810)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 23370)
Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.0ms | Allocations: 23968)
Started POST “/users/sign_in” for ::1 at 2022-02-06 15:45:44 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel`123456", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 383)
Processing by Devise::SessionsController#new as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel`123456", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering layout layouts/application.html.erb
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 152)
Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.3ms | Allocations: 8784)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 50) Rendered layout layouts/application.html.erb (Duration: 31.2ms | Allocations: 22468)
Completed 200 OK in 32ms (Views: 31.7ms | ActiveRecord: 0.0ms | Allocations: 23002)
Started POST “/users/sign_in” for ::1 at 2022-02-06 15:45:49 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 214ms (ActiveRecord: 0.9ms | Allocations: 2453)
Started GET “/” for ::1 at 2022-02-06 15:45:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 2031) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 15008)
Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.8ms | Allocations: 15404)
Started GET “/orders” for ::1 at 2022-02-06 15:45:53 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.9ms | Allocations: 721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.0ms | Allocations: 15454)
Completed 200 OK in 27ms (Views: 22.5ms | ActiveRecord: 1.6ms | Allocations: 16854)
Started GET “/products?query=ca&commit=Search” for ::1 at 2022-02-06 15:48:06 -0500 Processing by ProductsController#index as HTML
Parameters: {"query"=>"ca", "commit"=>"Search"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (10.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN (SELECT "products"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))), (to_tsquery('simple', ''' ' || 'ca' || ' ''' || ':*')), 0)) AS rank FROM "products" WHERE ((to_tsvector('simple', coalesce("products"."name"::text, '')) || to_tsvector('simple', coalesce("products"."description"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'ca' || ' ''' || ':*')))) AS pg_search_0a3e27b8ca818264d75c8d ON "products"."id" = pg_search_0a3e27b8ca818264d75c8d.pg_search_id ORDER BY pg_search_0a3e27b8ca818264d75c8d.rank DESC, "products"."id" ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 39.5ms | Allocations: 13337)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 61.3ms | Allocations: 26940)
Completed 200 OK in 65ms (Views: 40.6ms | ActiveRecord: 21.5ms | Allocations: 28174)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 15:48:14 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 158.3ms | Allocations: 73577)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 172.9ms | Allocations: 87210)
Completed 200 OK in 175ms (Views: 114.2ms | ActiveRecord: 59.2ms | Allocations: 87806)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 15:48:16 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (4.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 186.3ms | Allocations: 73567)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 203.7ms | Allocations: 87259)
Completed 200 OK in 206ms (Views: 141.0ms | ActiveRecord: 63.7ms | Allocations: 87856)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 15:48:18 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 159.9ms | Allocations: 73557)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 174.4ms | Allocations: 87249)
Completed 200 OK in 176ms (Views: 114.9ms | ActiveRecord: 60.0ms | Allocations: 87846)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 15:48:22 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 186.2ms | Allocations: 73562)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 201.8ms | Allocations: 87254)
Completed 200 OK in 204ms (Views: 135.3ms | ActiveRecord: 67.2ms | Allocations: 87852)
Started GET “/products” for ::1 at 2022-02-06 15:51:50 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 169.5ms | Allocations: 73572)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 209.5ms | Allocations: 87264)
Completed 200 OK in 212ms (Views: 147.6ms | ActiveRecord: 62.4ms | Allocations: 87876)
Started GET “/orders” for ::1 at 2022-02-06 15:51:52 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 1644) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 15303)
Completed 200 OK in 26ms (Views: 20.9ms | ActiveRecord: 1.8ms | Allocations: 16724)
Started GET “/products” for ::1 at 2022-02-06 15:51:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (11.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 191.2ms | Allocations: 73580)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 209.3ms | Allocations: 87272)
Completed 200 OK in 212ms (Views: 136.9ms | ActiveRecord: 73.0ms | Allocations: 87884)
Started GET “/” for ::1 at 2022-02-06 15:51:53 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 5.8ms | Allocations: 2801) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 23.3ms | Allocations: 15723)
Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 1.1ms | Allocations: 16114)
Started GET “/products” for ::1 at 2022-02-06 15:51:54 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 166.1ms | Allocations: 73563)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 181.4ms | Allocations: 87255)
Completed 200 OK in 185ms (Views: 119.7ms | ActiveRecord: 62.2ms | Allocations: 87867)
Started GET “/products/29” for ::1 at 2022-02-06 15:52:50 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 35.6ms | Allocations: 21960)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.0ms | Allocations: 35583)
Completed 200 OK in 80ms (Views: 45.2ms | ActiveRecord: 13.1ms | Allocations: 42885)
Started POST “/products/29/likes” for ::1 at 2022-02-06 15:52:55 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 20:52:55.445427"], ["updated_at", "2022-02-06 20:52:55.445427"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:52:55.458702"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 36ms (ActiveRecord: 14.8ms | Allocations: 14621)
Started GET “/products/29” for ::1 at 2022-02-06 15:52:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 27.0ms | Allocations: 18857)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 32450)
Completed 200 OK in 45ms (Views: 36.5ms | ActiveRecord: 6.2ms | Allocations: 33589)
Started DELETE “/products/29/likes/2” for ::1 at 2022-02-06 15:52:56 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"2"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 2]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:52:56.391245"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 30ms (ActiveRecord: 11.5ms | Allocations: 10377)
Started GET “/products/29” for ::1 at 2022-02-06 15:52:56 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.6ms | Allocations: 18816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.3ms | Allocations: 32350)
Completed 200 OK in 49ms (Views: 38.6ms | ActiveRecord: 7.4ms | Allocations: 33488)
Started POST “/products/29/likes” for ::1 at 2022-02-06 15:52:58 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 20:52:58.319221"], ["updated_at", "2022-02-06 20:52:58.319221"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:52:58.331340"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 28ms (ActiveRecord: 11.6ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 15:52:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.8ms | Allocations: 18846)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 46.9ms | Allocations: 32440)
Completed 200 OK in 50ms (Views: 41.1ms | ActiveRecord: 6.8ms | Allocations: 33579)
Started DELETE “/products/29/likes/3” for ::1 at 2022-02-06 15:52:58 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"3"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 3]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:52:58.975348"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 26ms (ActiveRecord: 10.5ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 15:52:58 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18843)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 32437)
Completed 200 OK in 47ms (Views: 37.6ms | ActiveRecord: 7.2ms | Allocations: 33576)
Started POST “/products/29/likes” for ::1 at 2022-02-06 15:53:02 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.3ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 20:53:02.115510"], ["updated_at", "2022-02-06 20:53:02.115510"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:53:02.129561"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 31ms (ActiveRecord: 12.4ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 15:53:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 26.1ms | Allocations: 18846)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 40.4ms | Allocations: 32439)
Completed 200 OK in 44ms (Views: 35.3ms | ActiveRecord: 6.1ms | Allocations: 33578)
Started DELETE “/products/29/likes/4” for ::1 at 2022-02-06 15:53:02 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"4"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 4], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 4]]
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:20:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 20:53:02.929654"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 25ms (ActiveRecord: 10.4ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 15:53:02 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 32350)
Completed 200 OK in 46ms (Views: 37.9ms | ActiveRecord: 6.5ms | Allocations: 33488)
Started POST “/products/29/orders” for ::1 at 2022-02-06 15:53:10 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"21"}, "commit"=>"Buy", "product_id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 21], ["product_id", 29], ["created_at", "2022-02-06 20:53:10.246146"], ["updated_at", "2022-02-06 20:53:10.246146"], ["user_id", 3]]
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:29:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 22ms (ActiveRecord: 8.6ms | Allocations: 7832)
Started GET “/orders” for ::1 at 2022-02-06 15:53:10 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 1637)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 900) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 24.2ms | Allocations: 15461)
Completed 200 OK in 29ms (Views: 23.1ms | ActiveRecord: 2.3ms | Allocations: 16859)
Started DELETE “/orders/8?order_id=8” for ::1 at 2022-02-06 15:53:13 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"8", "id"=>"8"}
[1m[36mOrder Load (0.9ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (0.8ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 8]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 9ms (ActiveRecord: 3.7ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:53:13 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.6ms | Allocations: 721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 907) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 17.4ms | Allocations: 14499)
Completed 200 OK in 22ms (Views: 17.0ms | ActiveRecord: 1.6ms | Allocations: 15895)
Started GET “/products” for ::1 at 2022-02-06 15:53:14 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 148.3ms | Allocations: 73595)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 163.1ms | Allocations: 87287)
Completed 200 OK in 165ms (Views: 106.1ms | ActiveRecord: 57.5ms | Allocations: 87899)
Started GET “/products/29” for ::1 at 2022-02-06 15:53:16 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 36.2ms | Allocations: 19648)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.5ms | Allocations: 33259)
Completed 200 OK in 55ms (Views: 43.5ms | ActiveRecord: 9.2ms | Allocations: 34400)
Started GET “/products/30” for ::1 at 2022-02-06 15:53:18 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (6.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 42.0ms | Allocations: 19720)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.2ms | Allocations: 33318)
Completed 200 OK in 62ms (Views: 44.4ms | ActiveRecord: 14.7ms | Allocations: 34460)
Started GET “/products/30” for ::1 at 2022-02-06 15:53:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (2.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 49.1ms | Allocations: 18819)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 70.8ms | Allocations: 33248)
Completed 200 OK in 74ms (Views: 61.1ms | ActiveRecord: 10.8ms | Allocations: 34389)
Started POST “/products/30/orders” for ::1 at 2022-02-06 15:53:24 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"19"}, "commit"=>"Buy", "product_id"=>"30"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:18:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mProduct Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3969-UPN"], ["id", 30], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/orders_controller.rb:28:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mOrder Create (1.1ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 19], ["product_id", 30], ["created_at", "2022-02-06 20:53:24.862796"], ["updated_at", "2022-02-06 20:53:24.862796"], ["user_id", 3]]
↳ app/controllers/orders_controller.rb:29:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:29:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 21ms (ActiveRecord: 8.5ms | Allocations: 7854)
Started GET “/orders” for ::1 at 2022-02-06 15:53:24 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.4ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.0ms | Allocations: 1638)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 897) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 15405)
Completed 200 OK in 26ms (Views: 18.8ms | ActiveRecord: 3.6ms | Allocations: 16802)
Started DELETE “/orders/9?order_id=9” for ::1 at 2022-02-06 15:53:27 -0500 Processing by OrdersController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order_id"=>"9", "id"=>"9"}
[1m[36mOrder Load (0.7ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:45:in `set_order'
[1m[36mCACHE Order Load (0.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:37:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mOrder Destroy (1.0ms)[0m [1m[31mDELETE FROM "orders" WHERE "orders"."id" = $1[0m [["id", 9]]
↳ app/controllers/orders_controller.rb:38:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:38:in `destroy'
Redirected to localhost:3000/orders Completed 302 Found in 11ms (ActiveRecord: 4.0ms | Allocations: 3105)
Started GET “/orders” for ::1 at 2022-02-06 15:53:27 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:6:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (0.8ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 3]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' Rendered orders/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 721)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 14501)
Completed 200 OK in 22ms (Views: 17.6ms | ActiveRecord: 1.7ms | Allocations: 15897)
Started GET “/products” for ::1 at 2022-02-06 15:53:29 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 156.3ms | Allocations: 73584)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 171.4ms | Allocations: 87276)
Completed 200 OK in 174ms (Views: 115.4ms | ActiveRecord: 56.6ms | Allocations: 87888)
Started GET “/products/30” for ::1 at 2022-02-06 15:53:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.3ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 33.2ms | Allocations: 19752)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.2ms | Allocations: 33287)
Completed 200 OK in 52ms (Views: 41.1ms | ActiveRecord: 8.2ms | Allocations: 34428)
Started GET “/” for ::1 at 2022-02-06 15:53:45 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.2ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.2ms | Allocations: 2030) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 27.4ms | Allocations: 15819)
Completed 200 OK in 29ms (Views: 27.0ms | ActiveRecord: 1.2ms | Allocations: 16210)
Started GET “/products” for ::1 at 2022-02-06 15:53:46 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 161.1ms | Allocations: 73561)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 5.9ms | Allocations: 873) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 181.7ms | Allocations: 87198)
Completed 200 OK in 184ms (Views: 121.9ms | ActiveRecord: 60.3ms | Allocations: 87810)
Started GET “/products/28” for ::1 at 2022-02-06 15:53:46 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/models/product.rb:18:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.2ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 36.1ms | Allocations: 19720)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 51.2ms | Allocations: 33259)
Completed 200 OK in 57ms (Views: 44.0ms | ActiveRecord: 9.0ms | Allocations: 34401)
Started GET “/” for ::1 at 2022-02-06 15:53:50 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 9.4ms | Allocations: 2829) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 30.2ms | Allocations: 15755)
Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 2.1ms | Allocations: 16146)
Started GET “/products” for ::1 at 2022-02-06 16:20:28 -0500
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (12.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 395.2ms | Allocations: 130302)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 1356) Rendered shared/_flashes.html.erb (Duration: 0.8ms | Allocations: 207) Rendered layout layouts/application.html.erb (Duration: 422.0ms | Allocations: 145079)
Completed 200 OK in 446ms (Views: 324.0ms | ActiveRecord: 101.6ms | Allocations: 151674)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 16:20:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (5.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 176.9ms | Allocations: 73582)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 879) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 198.2ms | Allocations: 87284)
Completed 200 OK in 200ms (Views: 130.8ms | ActiveRecord: 68.0ms | Allocations: 87893)
Started GET “/products/2” for ::1 at 2022-02-06 16:27:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:20:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 432.9ms | Allocations: 387003)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 456.3ms | Allocations: 400610)
Completed 200 OK in 519ms (Views: 448.2ms | ActiveRecord: 33.2ms | Allocations: 420979)
Started POST “/products/2/reviews” for ::1 at 2022-02-06 16:27:34 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Another title", "content"=>"Another content", "rating"=>"6"}, "commit"=>"Create Review", "product_id"=>"2"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:20:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:25
Rendered products/show.html.erb within layouts/application (Duration: 13.1ms | Allocations: 5665)
Rendered layout layouts/application.html.erb (Duration: 13.5ms | Allocations: 5729)
Completed 500 Internal Server Error in 23ms (ActiveRecord: 4.9ms | Allocations: 9407)
ActionView::Template::Error (undefined method `model_name' for nil:NilClass):
34: </div>
35: <hr>
36: <div class='order-buy-form'>
37: <%= simple_form_for([ @product, @order ]) do |f| %>
38: <%= f.input :quantity, input_html: { value: 1 } %>
39: <div class='text-right mt-5'>
40: <%= f.submit 'Buy', class: 'btn btn-primary btn-buy' %>
app/views/products/show.html.erb:37 app/controllers/reviews_controller.rb:11:in `create' Started POST “/products/2/reviews” for ::1 at 2022-02-06 16:27:38 -0500 Processing by ReviewsController#create as JS
Parameters: {"review"=>{"title"=>"Another title", "content"=>"Another content", "rating"=>"3"}, "commit"=>"Create Review", "product_id"=>"2"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/reviews_controller.rb:4:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mReview Create (1.6ms)[0m [1m[32mINSERT INTO "reviews" ("title", "content", "product_id", "user_id", "created_at", "updated_at", "rating") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Another title"], ["content", "Another content"], ["product_id", 2], ["user_id", 3], ["created_at", "2022-02-06 21:27:38.547060"], ["updated_at", "2022-02-06 21:27:38.547060"], ["rating", 3]]
↳ app/controllers/reviews_controller.rb:8:in `create'
[1m[36mTRANSACTION (3.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/reviews_controller.rb:8:in `create'
Redirected to localhost:3000/products/2 Completed 200 OK in 18ms (ActiveRecord: 7.7ms | Allocations: 4549)
Started GET “/products/2” for ::1 at 2022-02-06 16:27:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:59:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/models/product.rb:20:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.5ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 2]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 50.8ms | Allocations: 21802)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 74.4ms | Allocations: 35341)
Completed 200 OK in 78ms (Views: 63.2ms | ActiveRecord: 12.5ms | Allocations: 36484)
Started GET “/products” for ::1 at 2022-02-06 16:28:41 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 238.4ms | Allocations: 90862)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 255.3ms | Allocations: 104410)
Completed 200 OK in 270ms (Views: 167.6ms | ActiveRecord: 88.6ms | Allocations: 108932)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 16:28:43 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms | Allocations: 2635)
Started GET “/” for ::1 at 2022-02-06 16:28:43 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.8ms | Allocations: 120)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 966) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 13934)
Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.0ms | Allocations: 14975)
Started GET “/products” for ::1 at 2022-02-06 16:28:44 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 206.5ms | Allocations: 72722)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 870) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 222.3ms | Allocations: 86361)
Completed 200 OK in 224ms (Views: 158.0ms | ActiveRecord: 64.7ms | Allocations: 86970)
Started GET “/users/sign_in” for ::1 at 2022-02-06 16:28:46 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 657) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 19.2ms | Allocations: 10872)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 917) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 37.4ms | Allocations: 24689)
Completed 200 OK in 42ms (Views: 41.3ms | ActiveRecord: 0.0ms | Allocations: 26222)
Started POST “/users/sign_in” for ::1 at 2022-02-06 16:28:49 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 224ms (ActiveRecord: 1.0ms | Allocations: 4083)
Started GET “/” for ::1 at 2022-02-06 16:28:49 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 2039) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 17.6ms | Allocations: 14963)
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.7ms | Allocations: 15359)
Started GET “/products” for ::1 at 2022-02-06 16:28:52 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 151.7ms | Allocations: 73620)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 876) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 167.0ms | Allocations: 87264)
Completed 200 OK in 170ms (Views: 109.0ms | ActiveRecord: 58.5ms | Allocations: 87887)
Started GET “/products/new” for ::1 at 2022-02-06 16:28:56 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 27.1ms | Allocations: 17578)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 913) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 45.1ms | Allocations: 31395)
Completed 200 OK in 49ms (Views: 44.1ms | ActiveRecord: 2.1ms | Allocations: 33196)
Started POST “/products” for ::1 at 2022-02-06 16:29:00 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"", "name"=>"", "description"=>"", "price"=>"", "stock"=>"1000", "tag_ids"=>[""]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", ""], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:30:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/new.html.erb:11
Rendered products/new.html.erb within layouts/application (Duration: 36.1ms | Allocations: 23477)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 56.1ms | Allocations: 37139)
Completed 200 OK in 70ms (Views: 55.5ms | ActiveRecord: 4.4ms | Allocations: 42326)
Started GET “/products” for ::1 at 2022-02-06 16:29:12 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 193.2ms | Allocations: 90850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 210.5ms | Allocations: 104401)
Completed 200 OK in 220ms (Views: 132.2ms | ActiveRecord: 79.3ms | Allocations: 108920)
Started GET “/products/new” for ::1 at 2022-02-06 16:29:14 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (2.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 29.3ms | Allocations: 16858)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.2ms | Allocations: 30670)
Completed 200 OK in 54ms (Views: 48.6ms | ActiveRecord: 2.7ms | Allocations: 32352)
Started POST “/products” for ::1 at 2022-02-06 16:29:17 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"", "name"=>"", "description"=>"", "price"=>"", "stock"=>"22222", "tag_ids"=>[""]}, "commit"=>"Add product"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", ""], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:30:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/new.html.erb:11
Rendered products/new.html.erb within layouts/application (Duration: 32.0ms | Allocations: 23204)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.4ms | Allocations: 36861)
Completed 200 OK in 61ms (Views: 47.9ms | ActiveRecord: 4.7ms | Allocations: 42028)
Started POST “/products” for ::1 at 2022-02-06 16:29:28 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"", "name"=>"", "description"=>"", "price"=>"", "stock"=>"-10", "tag_ids"=>[""]}, "commit"=>"Add product"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", ""], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:30:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/new.html.erb:11
Rendered products/new.html.erb within layouts/application (Duration: 42.8ms | Allocations: 23210)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 908) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 63.6ms | Allocations: 36871)
Completed 200 OK in 77ms (Views: 63.2ms | ActiveRecord: 4.9ms | Allocations: 41769)
Started GET “/products” for ::1 at 2022-02-06 16:29:49 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 180.3ms | Allocations: 90848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 194.4ms | Allocations: 104399)
Completed 200 OK in 202ms (Views: 122.9ms | ActiveRecord: 72.2ms | Allocations: 108917)
Started GET “/products/new” for ::1 at 2022-02-06 16:29:51 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 26.5ms | Allocations: 16838)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 23.4ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 67.6ms | Allocations: 30650)
Completed 200 OK in 74ms (Views: 65.8ms | ActiveRecord: 3.4ms | Allocations: 32332)
Started POST “/products” for ::1 at 2022-02-06 16:29:54 -0500 Processing by ProductsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product"=>{"sku"=>"", "name"=>"", "description"=>"", "price"=>"", "stock"=>"2232323", "tag_ids"=>[""]}, "commit"=>"Add product"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 LIMIT $2[0m [["sku", ""], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:30:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mROLLBACK[0m
↳ app/controllers/products_controller.rb:30:in `create'
Rendering layout layouts/application.html.erb
Rendering products/new.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m
↳ app/views/products/new.html.erb:11
Rendered products/new.html.erb within layouts/application (Duration: 56.4ms | Allocations: 23203)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 909) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 73.8ms | Allocations: 36865)
Completed 200 OK in 87ms (Views: 73.2ms | ActiveRecord: 5.2ms | Allocations: 42029)
Started GET “/products” for ::1 at 2022-02-06 16:34:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 189.6ms | Allocations: 90848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 213.8ms | Allocations: 104399)
Completed 200 OK in 223ms (Views: 139.0ms | ActiveRecord: 75.6ms | Allocations: 108929)
Started GET “/products” for ::1 at 2022-02-06 16:34:15 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 155.7ms | Allocations: 72703)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 169.0ms | Allocations: 86341)
Completed 200 OK in 171ms (Views: 115.0ms | ActiveRecord: 54.5ms | Allocations: 86953)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 16:34:17 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 165.5ms | Allocations: 73573)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 180.3ms | Allocations: 87206)
Completed 200 OK in 183ms (Views: 120.9ms | ActiveRecord: 59.9ms | Allocations: 87801)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 16:34:20 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 163.3ms | Allocations: 73574)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 178.2ms | Allocations: 87213)
Completed 200 OK in 180ms (Views: 119.3ms | ActiveRecord: 59.3ms | Allocations: 87809)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 16:34:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 173.7ms | Allocations: 73588)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 188.5ms | Allocations: 87226)
Completed 200 OK in 191ms (Views: 126.7ms | ActiveRecord: 62.4ms | Allocations: 87821)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 16:34:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 165.0ms | Allocations: 73575)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 179.5ms | Allocations: 87208)
Completed 200 OK in 181ms (Views: 121.1ms | ActiveRecord: 58.7ms | Allocations: 87803)
Started GET “/products” for ::1 at 2022-02-06 16:34:27 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 157.3ms | Allocations: 73601)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 171.5ms | Allocations: 87239)
Completed 200 OK in 179ms (Views: 113.1ms | ActiveRecord: 59.0ms | Allocations: 87851)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 16:34:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 319.1ms | Allocations: 73618)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 342.5ms | Allocations: 87256)
Completed 200 OK in 345ms (Views: 275.2ms | ActiveRecord: 67.8ms | Allocations: 87851)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 16:35:26 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 216.2ms | Allocations: 90842)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 236.0ms | Allocations: 104396)
Completed 200 OK in 246ms (Views: 161.2ms | ActiveRecord: 75.6ms | Allocations: 108906)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 16:35:28 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 163.3ms | Allocations: 73598)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 179.3ms | Allocations: 87236)
Completed 200 OK in 182ms (Views: 120.1ms | ActiveRecord: 59.7ms | Allocations: 87832)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 16:35:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 182.4ms | Allocations: 73581)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 197.6ms | Allocations: 87219)
Completed 200 OK in 199ms (Views: 135.0ms | ActiveRecord: 63.0ms | Allocations: 87815)
Started GET “/filter/Price-ascending” for ::1 at 2022-02-06 16:35:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 164.3ms | Allocations: 73597)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 181.1ms | Allocations: 87235)
Completed 200 OK in 185ms (Views: 119.4ms | ActiveRecord: 62.2ms | Allocations: 87831)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:35:34 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 167.4ms | Allocations: 73597)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 181.1ms | Allocations: 87235)
Completed 200 OK in 183ms (Views: 120.9ms | ActiveRecord: 60.8ms | Allocations: 87831)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:42:04 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 1455)
Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 1519)
Completed 500 Internal Server Error in 30ms (ActiveRecord: 12.8ms | Allocations: 8961)
ActionView::Template::Error (undefined method `each' for nil:NilClass):
6: Sort by 7: </button> 8: <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> 9: <% @filters.each do |filter| %> 10: <%= link_to filter, filter_path(filter), class: "dropdown-item" %> 11: <% end %> 12: </div>
app/views/products/index.html.erb:9 Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:42:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 1.2ms | Allocations: 1455)
Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 1519)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms | Allocations: 5832)
ActionView::Template::Error (undefined method `each' for nil:NilClass):
6: Sort by 7: </button> 8: <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> 9: <% @filters.each do |filter| %> 10: <%= link_to filter, filter_path(filter), class: "dropdown-item" %> 11: <% end %> 12: </div>
app/views/products/index.html.erb:9 Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:42:47 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
Rendered products/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 1455)
Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 1519)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms | Allocations: 5832)
ActionView::Template::Error (undefined method `each' for nil:NilClass):
6: Sort by 7: </button> 8: <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> 9: <% @filters.each do |filter| %> 10: <%= link_to filter, filter_path(filter), class: "dropdown-item" %> 11: <% end %> 12: </div>
app/views/products/index.html.erb:9 Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:43:21 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 212.0ms | Allocations: 91590)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 232.7ms | Allocations: 105141)
Completed 200 OK in 240ms (Views: 146.4ms | ActiveRecord: 87.0ms | Allocations: 109505)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 16:43:23 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 177.9ms | Allocations: 73593)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 193.4ms | Allocations: 87232)
Completed 200 OK in 196ms (Views: 128.9ms | ActiveRecord: 65.1ms | Allocations: 87828)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 16:43:26 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 160.2ms | Allocations: 73580)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 174.4ms | Allocations: 87218)
Completed 200 OK in 177ms (Views: 115.9ms | ActiveRecord: 59.0ms | Allocations: 87814)
Started GET “/filter/Name-descending” for ::1 at 2022-02-06 16:43:27 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.6ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 184.6ms | Allocations: 73592)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 200.0ms | Allocations: 87230)
Completed 200 OK in 202ms (Views: 136.1ms | ActiveRecord: 64.4ms | Allocations: 87826)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:43:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (7.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (3.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 206.3ms | Allocations: 73576)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 222.7ms | Allocations: 87214)
Completed 200 OK in 225ms (Views: 140.2ms | ActiveRecord: 82.9ms | Allocations: 87810)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:45:24 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 209.6ms | Allocations: 90841)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 235.0ms | Allocations: 104392)
Completed 200 OK in 246ms (Views: 156.8ms | ActiveRecord: 78.9ms | Allocations: 108756)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 16:45:26 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (3.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 215.8ms | Allocations: 73597)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 230.7ms | Allocations: 87235)
Completed 200 OK in 234ms (Views: 163.7ms | ActiveRecord: 67.6ms | Allocations: 87831)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 16:45:29 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 164.1ms | Allocations: 73576)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 179.1ms | Allocations: 87211)
Completed 200 OK in 181ms (Views: 119.8ms | ActiveRecord: 59.8ms | Allocations: 87807)
Started GET “/tags/Nuts” for ::1 at 2022-02-06 16:45:30 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Nuts"}
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Nuts"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 10]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 30.4ms | Allocations: 13742)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.5ms | Allocations: 27280)
Completed 200 OK in 51ms (Views: 35.2ms | ActiveRecord: 11.3ms | Allocations: 29050)
Started GET “/tags/Sauces” for ::1 at 2022-02-06 16:45:32 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 42.0ms | Allocations: 17587)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 57.9ms | Allocations: 31220)
Completed 200 OK in 62ms (Views: 42.7ms | ActiveRecord: 16.5ms | Allocations: 32416)
Started GET “/tags/Sauces” for ::1 at 2022-02-06 16:49:58 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Sauces"}
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Sauces"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 1]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 63.9ms | Allocations: 31312)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 880) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 84.3ms | Allocations: 44863)
Completed 200 OK in 111ms (Views: 60.0ms | ActiveRecord: 32.3ms | Allocations: 54380)
Started GET “/products” for ::1 at 2022-02-06 16:49:59 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (2.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 189.5ms | Allocations: 73588)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 205.2ms | Allocations: 87226)
Completed 200 OK in 208ms (Views: 148.1ms | ActiveRecord: 57.7ms | Allocations: 87838)
Started GET “/products” for ::1 at 2022-02-06 16:50:00 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 144.8ms | Allocations: 72701)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 159.4ms | Allocations: 86339)
Completed 200 OK in 161ms (Views: 106.8ms | ActiveRecord: 53.2ms | Allocations: 86951)
Started GET “/” for ::1 at 2022-02-06 16:50:01 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 7.4ms | Allocations: 2132) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 26.2ms | Allocations: 15798)
Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 1.3ms | Allocations: 16372)
Started GET “/products” for ::1 at 2022-02-06 16:50:01 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 168.5ms | Allocations: 73585)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 183.3ms | Allocations: 87223)
Completed 200 OK in 186ms (Views: 120.9ms | ActiveRecord: 62.9ms | Allocations: 87835)
Started GET “/tags/Beverages” for ::1 at 2022-02-06 16:50:03 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Beverages"}
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Beverages"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 9]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 33.0ms | Allocations: 12894)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.5ms | Allocations: 26532)
Completed 200 OK in 52ms (Views: 36.5ms | ActiveRecord: 13.2ms | Allocations: 27729)
Started GET “/tags/Seeds” for ::1 at 2022-02-06 16:50:05 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Seeds"}
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Seeds"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (2.1ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 5]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 39.0ms | Allocations: 17586)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.5ms | Allocations: 31219)
Completed 200 OK in 58ms (Views: 40.0ms | ActiveRecord: 15.2ms | Allocations: 32415)
Started GET “/products/7” for ::1 at 2022-02-06 16:53:14 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 7]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 53.5ms | Allocations: 26036)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.7ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 75.3ms | Allocations: 39586)
Completed 200 OK in 124ms (Views: 56.7ms | ActiveRecord: 38.2ms | Allocations: 56604)
Started POST “/products/7/orders” for ::1 at 2022-02-06 16:53:15 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"7"}
[1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "2350-OZZ"], ["id", 7], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.3ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 22], ["updated_at", "2022-02-06 21:53:15.579535"], ["id", 7]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mOrder Create (1.4ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 7], ["created_at", "2022-02-06 21:53:15.584395"], ["updated_at", "2022-02-06 21:53:15.584395"], ["user_id", 1]]
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:27:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 27ms (ActiveRecord: 11.3ms | Allocations: 9470)
Started GET “/orders” for ::1 at 2022-02-06 16:53:15 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:9:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.1ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.6ms | Allocations: 2173)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 904) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 15953)
Completed 200 OK in 26ms (Views: 20.8ms | ActiveRecord: 2.5ms | Allocations: 17898)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 16:53:17 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms | Allocations: 2237)
Started GET “/” for ::1 at 2022-02-06 16:53:17 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 958) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 16.4ms | Allocations: 13846)
Completed 200 OK in 17ms (Views: 17.0ms | ActiveRecord: 0.0ms | Allocations: 14421)
Started GET “/products” for ::1 at 2022-02-06 16:53:18 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 172.1ms | Allocations: 72743)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 193.9ms | Allocations: 86383)
Completed 200 OK in 196ms (Views: 129.5ms | ActiveRecord: 64.9ms | Allocations: 86992)
Started GET “/products/27” for ::1 at 2022-02-06 16:53:19 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"27"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 27]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 47.4ms | Allocations: 9593)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 865) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 62.2ms | Allocations: 23120)
Completed 200 OK in 67ms (Views: 56.1ms | ActiveRecord: 7.8ms | Allocations: 24257)
Started POST “/products/27/orders” for ::1 at 2022-02-06 16:53:20 -0500 Processing by OrdersController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "order"=>{"quantity"=>"1"}, "commit"=>"Buy", "product_id"=>"27"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:21:in `create'
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:24:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "9415-QED"], ["id", 27], ["LIMIT", 1]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "stock" = $1, "updated_at" = $2 WHERE "products"."id" = $3[0m [["stock", 13], ["updated_at", "2022-02-06 21:53:20.966348"], ["id", 27]]
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (1.6ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:26:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mOrder Create (1.2ms)[0m [1m[32mINSERT INTO "orders" ("quantity", "product_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["quantity", 1], ["product_id", 27], ["created_at", "2022-02-06 21:53:20.971677"], ["updated_at", "2022-02-06 21:53:20.971677"], ["user_id", 2]]
↳ app/controllers/orders_controller.rb:27:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/orders_controller.rb:27:in `create'
Redirected to localhost:3000/orders Completed 302 Found in 23ms (ActiveRecord: 9.7ms | Allocations: 8100)
Started GET “/orders” for ::1 at 2022-02-06 16:53:20 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:12:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.0ms)[0m [1m[34mSELECT "orders".* FROM "orders" WHERE "orders"."user_id" = $1[0m [["user_id", 2]] ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 1641)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 892) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 20.6ms | Allocations: 15404)
Completed 200 OK in 25ms (Views: 19.0ms | ActiveRecord: 3.0ms | Allocations: 16626)
Started GET “/users/sign_in” for ::1 at 2022-02-06 16:53:23 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 13.7ms | Allocations: 8878)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 36.2ms | Allocations: 23480)
Completed 200 OK in 39ms (Views: 37.3ms | ActiveRecord: 0.0ms | Allocations: 24202)
Started POST “/users/sign_in” for ::1 at 2022-02-06 16:53:27 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 215ms (ActiveRecord: 1.0ms | Allocations: 2504)
Started GET “/” for ::1 at 2022-02-06 16:53:27 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 2031) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 18.2ms | Allocations: 14950)
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.8ms | Allocations: 15345)
Started GET “/orders” for ::1 at 2022-02-06 16:53:30 -0500 Processing by OrdersController#index as HTML
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/controllers/orders_controller.rb:9:in `index' Rendering layout layouts/application.html.erb Rendering orders/index.html.erb within layouts/application [1m[36mOrder Load (1.5ms)[0m [1m[34mSELECT "orders".* FROM "orders"[0m ↳ app/views/orders/index.html.erb:17:in `each_with_index' [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 [1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]] ↳ app/views/orders/index.html.erb:20 Rendered orders/index.html.erb within layouts/application (Duration: 9.2ms | Allocations: 3314)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 23.9ms | Allocations: 899) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 55.7ms | Allocations: 17191)
Completed 200 OK in 63ms (Views: 52.4ms | ActiveRecord: 5.2ms | Allocations: 18562)
Started GET “/products” for ::1 at 2022-02-06 16:55:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 220.6ms | Allocations: 90862)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 240.7ms | Allocations: 104414)
Completed 200 OK in 252ms (Views: 149.4ms | ActiveRecord: 92.1ms | Allocations: 108797)
Started GET “/products/28” for ::1 at 2022-02-06 16:55:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 21.8ms | Allocations: 12521)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 26056)
Completed 200 OK in 67ms (Views: 31.1ms | ActiveRecord: 17.8ms | Allocations: 35824)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 16:55:24 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 2236)
Started GET “/” for ::1 at 2022-02-06 16:55:24 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 958) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 14.8ms | Allocations: 13846)
Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms | Allocations: 14420)
Started GET “/products” for ::1 at 2022-02-06 16:55:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 167.6ms | Allocations: 72719)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 868) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 182.6ms | Allocations: 86351)
Completed 200 OK in 186ms (Views: 121.7ms | ActiveRecord: 61.5ms | Allocations: 86959)
Started GET “/products/28” for ::1 at 2022-02-06 16:55:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:22
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 28]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 18.5ms | Allocations: 8717)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.5ms | Allocations: 898) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 37.6ms | Allocations: 23027)
Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 6.3ms | Allocations: 24164)
Started GET “/users/sign_in” for ::1 at 2022-02-06 16:55:28 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 163) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 14.2ms | Allocations: 8874)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 34.1ms | Allocations: 23445)
Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.0ms | Allocations: 24169)
Started POST “/users/sign_in” for ::1 at 2022-02-06 16:55:35 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 217ms (ActiveRecord: 1.2ms | Allocations: 2497)
Started GET “/” for ::1 at 2022-02-06 16:55:35 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 6.9ms | Allocations: 2031) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 19.8ms | Allocations: 14950)
Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 1.2ms | Allocations: 15345)
Started GET “/products” for ::1 at 2022-02-06 16:55:37 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 162.2ms | Allocations: 73573)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 177.2ms | Allocations: 87211)
Completed 200 OK in 180ms (Views: 119.7ms | ActiveRecord: 57.9ms | Allocations: 87823)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 35.9ms | Allocations: 20000)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 54.3ms | Allocations: 33616)
Completed 200 OK in 58ms (Views: 47.7ms | ActiveRecord: 7.9ms | Allocations: 34758)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:39 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.4ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:39.815668"], ["updated_at", "2022-02-06 21:55:39.815668"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:39.827935"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 37ms (ActiveRecord: 15.4ms | Allocations: 14974)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:39 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 30.3ms | Allocations: 18862)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.8ms | Allocations: 32402)
Completed 200 OK in 48ms (Views: 39.2ms | ActiveRecord: 6.6ms | Allocations: 33541)
Started DELETE “/products/29/likes/5” for ::1 at 2022-02-06 16:55:41 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"5"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 5], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 5]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:41.807283"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 24ms (ActiveRecord: 9.9ms | Allocations: 10401)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:41 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 31.9ms | Allocations: 18816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.9ms | Allocations: 32350)
Completed 200 OK in 51ms (Views: 41.8ms | ActiveRecord: 7.1ms | Allocations: 33488)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:42 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:42.523600"], ["updated_at", "2022-02-06 21:55:42.523600"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.2ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:42.537027"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 32ms (ActiveRecord: 12.9ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:42 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 39.3ms | Allocations: 18858)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 53.5ms | Allocations: 32398)
Completed 200 OK in 58ms (Views: 46.4ms | ActiveRecord: 8.4ms | Allocations: 33537)
Started DELETE “/products/29/likes/6” for ::1 at 2022-02-06 16:55:43 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"6"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.0ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 6], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 6]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:43.606022"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 30ms (ActiveRecord: 13.1ms | Allocations: 10377)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:43 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 33.4ms | Allocations: 18823)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.7ms | Allocations: 32363)
Completed 200 OK in 53ms (Views: 42.5ms | ActiveRecord: 8.4ms | Allocations: 33502)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:44 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:44.539585"], ["updated_at", "2022-02-06 21:55:44.539585"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.5ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:44.550384"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 12.0ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:44 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.6ms | Allocations: 18850)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.6ms | Allocations: 32390)
Completed 200 OK in 47ms (Views: 38.9ms | ActiveRecord: 6.8ms | Allocations: 33529)
Started DELETE “/products/29/likes/7” for ::1 at 2022-02-06 16:55:45 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"7"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 7], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 7]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:45.962583"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 24ms (ActiveRecord: 10.4ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:45 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.4ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 32.7ms | Allocations: 18816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.0ms | Allocations: 32350)
Completed 200 OK in 53ms (Views: 43.6ms | ActiveRecord: 7.5ms | Allocations: 33488)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:49 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:49.316548"], ["updated_at", "2022-02-06 21:55:49.316548"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:49.327707"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 26ms (ActiveRecord: 10.7ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:49 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.0ms | Allocations: 18873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.6ms | Allocations: 32414)
Completed 200 OK in 45ms (Views: 36.3ms | ActiveRecord: 6.4ms | Allocations: 33553)
Started DELETE “/products/29/likes/8” for ::1 at 2022-02-06 16:55:53 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"8"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 8], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 8]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:53.601221"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 27ms (ActiveRecord: 11.0ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:53 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18824)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.6ms | Allocations: 32364)
Completed 200 OK in 47ms (Views: 37.1ms | ActiveRecord: 7.0ms | Allocations: 33503)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:54 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.8ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:54.341813"], ["updated_at", "2022-02-06 21:55:54.341813"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:54.354123"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 12.0ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:54 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 27.1ms | Allocations: 18851)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.1ms | Allocations: 32392)
Completed 200 OK in 44ms (Views: 35.7ms | ActiveRecord: 6.3ms | Allocations: 33531)
Started DELETE “/products/29/likes/9” for ::1 at 2022-02-06 16:55:55 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"9"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 9], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 9]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.5ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:55.105143"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 27ms (ActiveRecord: 11.5ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.8ms | Allocations: 18816)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 45.6ms | Allocations: 32350)
Completed 200 OK in 48ms (Views: 40.0ms | ActiveRecord: 6.5ms | Allocations: 33488)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:55:55 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (4.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:55:55.827872"], ["updated_at", "2022-02-06 21:55:55.827872"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:55.840143"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 31ms (ActiveRecord: 14.8ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:55 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.2ms | Allocations: 18873)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.7ms | Allocations: 32413)
Completed 200 OK in 45ms (Views: 35.9ms | ActiveRecord: 7.2ms | Allocations: 33552)
Started DELETE “/products/29/likes/10” for ::1 at 2022-02-06 16:55:57 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"10"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 10], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 10]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.4ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:55:57.230695"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 27ms (ActiveRecord: 11.1ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:55:57 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.4ms | Allocations: 18823)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 44.5ms | Allocations: 32363)
Completed 200 OK in 47ms (Views: 39.1ms | ActiveRecord: 6.4ms | Allocations: 33502)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:21 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.1ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.4ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 39.5ms | Allocations: 19840)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 3.3ms | Allocations: 1303) Rendered shared/_flashes.html.erb (Duration: 0.7ms | Allocations: 200) Rendered layout layouts/application.html.erb (Duration: 58.5ms | Allocations: 34416)
Completed 200 OK in 66ms (Views: 54.7ms | ActiveRecord: 8.1ms | Allocations: 36355)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:22 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.2ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:22.489876"], ["updated_at", "2022-02-06 21:56:22.489876"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:22.501298"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.4ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 30ms (ActiveRecord: 12.2ms | Allocations: 11355)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:22 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18859)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 32399)
Completed 200 OK in 45ms (Views: 37.3ms | ActiveRecord: 6.3ms | Allocations: 33538)
Started DELETE “/products/29/likes/11” for ::1 at 2022-02-06 16:56:23 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"11"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (1.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 11], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 11]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:23.980592"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 11.8ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:23 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 32.2ms | Allocations: 18844)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.3ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.9ms | Allocations: 32384)
Completed 200 OK in 51ms (Views: 41.0ms | ActiveRecord: 7.8ms | Allocations: 33523)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:25 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:25.880787"], ["updated_at", "2022-02-06 21:56:25.880787"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:25.893277"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 11.7ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:25 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.7ms | Allocations: 18853)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.0ms | Allocations: 32393)
Completed 200 OK in 45ms (Views: 36.4ms | ActiveRecord: 6.5ms | Allocations: 33532)
Started DELETE “/products/29/likes/12” for ::1 at 2022-02-06 16:56:27 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"12"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 12], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 12]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:27.525087"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 25ms (ActiveRecord: 10.1ms | Allocations: 10377)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:27 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.3ms | Allocations: 18821)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.4ms | Allocations: 32361)
Completed 200 OK in 46ms (Views: 38.0ms | ActiveRecord: 6.5ms | Allocations: 33500)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:28 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.5ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:28.816016"], ["updated_at", "2022-02-06 21:56:28.816016"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:28.828021"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 28ms (ActiveRecord: 11.6ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:28 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.6ms | Allocations: 18846)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.7ms | Allocations: 32383)
Completed 200 OK in 50ms (Views: 42.3ms | ActiveRecord: 6.3ms | Allocations: 33522)
Started DELETE “/products/29/likes/13” for ::1 at 2022-02-06 16:56:29 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"13"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 13], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 13]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.5ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:30.015151"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 28ms (ActiveRecord: 11.9ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:30 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 32.6ms | Allocations: 18843)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.7ms | Allocations: 32383)
Completed 200 OK in 53ms (Views: 41.4ms | ActiveRecord: 9.1ms | Allocations: 33522)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:31 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:31.208722"], ["updated_at", "2022-02-06 21:56:31.208722"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.4ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:31.219140"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 27ms (ActiveRecord: 11.4ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:31 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.7ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.7ms | Allocations: 18853)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 47.4ms | Allocations: 32393)
Completed 200 OK in 50ms (Views: 42.0ms | ActiveRecord: 6.3ms | Allocations: 33532)
Started DELETE “/products/29/likes/14” for ::1 at 2022-02-06 16:56:32 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"14"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 14], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.8ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 14]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:32.780551"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 25ms (ActiveRecord: 10.0ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:32 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 34.7ms | Allocations: 18821)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.2ms | Allocations: 32358)
Completed 200 OK in 52ms (Views: 42.1ms | ActiveRecord: 8.0ms | Allocations: 33497)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:34 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:34.705740"], ["updated_at", "2022-02-06 21:56:34.705740"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (1.7ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.0ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:34.718522"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 29ms (ActiveRecord: 12.2ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:34 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (3.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 37.1ms | Allocations: 18861)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.9ms | Allocations: 32401)
Completed 200 OK in 56ms (Views: 44.5ms | ActiveRecord: 9.2ms | Allocations: 33540)
Started DELETE “/products/29/likes/15” for ::1 at 2022-02-06 16:56:37 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29", "id"=>"15"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 29], ["id", 15], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:38:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mLike Destroy (0.7ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 15]]
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:18:in `destroy'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:22:in `destroy'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:37.383766"], ["likes_number", 0], ["id", 29]]
↳ app/controllers/likes_controller.rb:23:in `destroy'
[1m[36mTRANSACTION (1.2ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:23:in `destroy'
Redirected to localhost:3000/products/29 Completed 302 Found in 28ms (ActiveRecord: 11.4ms | Allocations: 10376)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:37 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 18823)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 48.5ms | Allocations: 32363)
Completed 200 OK in 52ms (Views: 43.6ms | ActiveRecord: 6.2ms | Allocations: 33502)
Started POST “/products/29/likes” for ::1 at 2022-02-06 16:56:38 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"29"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:30:in `find_product'
[1m[36mLike Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:34:in `already_liked?'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 29], ["user_id", 3], ["created_at", "2022-02-06 21:56:38.408222"], ["updated_at", "2022-02-06 21:56:38.408222"]]
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:9:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/controllers/likes_controller.rb:11:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mProduct Exists? (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "6489-AYO"], ["id", 29], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (1.1ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 21:56:38.418401"], ["likes_number", 1], ["id", 29]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
Redirected to localhost:3000/products/29 Completed 302 Found in 28ms (ActiveRecord: 10.8ms | Allocations: 11354)
Started GET “/products/29” for ::1 at 2022-02-06 16:56:38 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"29"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.9ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.5ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 29]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 33.7ms | Allocations: 18852)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 50.7ms | Allocations: 32392)
Completed 200 OK in 54ms (Views: 43.6ms | ActiveRecord: 8.0ms | Allocations: 33531)
Started GET “/products” for ::1 at 2022-02-06 16:56:39 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 144.9ms | Allocations: 74093)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 878) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 160.1ms | Allocations: 87740)
Completed 200 OK in 163ms (Views: 104.6ms | ActiveRecord: 55.9ms | Allocations: 88477)
Started GET “/filter/Most-liked” for ::1 at 2022-02-06 16:56:41 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Most-liked"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.5ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY likes_number DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 153.9ms | Allocations: 73566)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 168.2ms | Allocations: 87205)
Completed 200 OK in 171ms (Views: 110.6ms | ActiveRecord: 58.3ms | Allocations: 87801)
Started GET “/filter/Price-descending” for ::1 at 2022-02-06 17:00:53 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Price-descending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY price DESC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (4.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 210.2ms | Allocations: 90937)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.6ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 232.3ms | Allocations: 104493)
Completed 200 OK in 242ms (Views: 149.2ms | ActiveRecord: 83.9ms | Allocations: 108897)
Started GET “/filter/Name-ascending” for ::1 at 2022-02-06 17:00:57 -0500 Processing by ProductsController#index as HTML
Parameters: {"filter"=>"Name-ascending"}
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.1ms)[0m [1m[34mSELECT "products".* FROM "products" ORDER BY name ASC[0m
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 159.2ms | Allocations: 73575)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 173.7ms | Allocations: 87213)
Completed 200 OK in 176ms (Views: 113.7ms | ActiveRecord: 60.5ms | Allocations: 87809)
Started GET “/tags/Desserts” for ::1 at 2022-02-06 17:00:59 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Desserts"}
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Desserts"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 6]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 46.5ms | Allocations: 18410)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 61.0ms | Allocations: 31951)
Completed 200 OK in 68ms (Views: 46.6ms | ActiveRecord: 16.1ms | Allocations: 33713)
Started GET “/products” for ::1 at 2022-02-06 17:01:01 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (4.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 160.2ms | Allocations: 73564)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 175.0ms | Allocations: 87202)
Completed 200 OK in 177ms (Views: 111.4ms | ActiveRecord: 64.0ms | Allocations: 87814)
Started GET “/products/30” for ::1 at 2022-02-06 17:01:04 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (1.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 33.8ms | Allocations: 21174)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 49.6ms | Allocations: 34708)
Completed 200 OK in 80ms (Views: 43.4ms | ActiveRecord: 19.7ms | Allocations: 44659)
Started POST “/products/30/likes” for ::1 at 2022-02-06 17:01:07 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"30"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:33:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:37:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mLike Create (1.1ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 30], ["user_id", 3], ["created_at", "2022-02-06 22:01:07.565480"], ["updated_at", "2022-02-06 22:01:07.565480"]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/controllers/likes_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mProduct Exists? (5.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3969-UPN"], ["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 22:01:07.582932"], ["likes_number", 1], ["id", 30]]
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:15:in `create'
Redirected to localhost:3000/products/30 Completed 302 Found in 42ms (ActiveRecord: 19.2ms | Allocations: 14928)
Started GET “/products/30” for ::1 at 2022-02-06 17:01:07 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (1.2ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (1.0ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 28.6ms | Allocations: 18875)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 42.2ms | Allocations: 32415)
Completed 200 OK in 45ms (Views: 36.4ms | ActiveRecord: 6.7ms | Allocations: 33554)
Started DELETE “/products/30/likes/17” for ::1 at 2022-02-06 17:01:08 -0500 Processing by LikesController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"30", "id"=>"17"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.7ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:33:in `find_product'
[1m[36mLike Load (0.7ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1 AND "likes"."id" = $2 LIMIT $3[0m [["product_id", 30], ["id", 17], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:41:in `find_like'
[1m[36mLike Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:37:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:21:in `destroy'
[1m[36mLike Destroy (0.9ms)[0m [1m[31mDELETE FROM "likes" WHERE "likes"."id" = $1[0m [["id", 17]]
↳ app/controllers/likes_controller.rb:21:in `destroy'
[1m[36mTRANSACTION (1.1ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:21:in `destroy'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/controllers/likes_controller.rb:25:in `destroy'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:26:in `destroy'
[1m[36mProduct Exists? (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3969-UPN"], ["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:26:in `destroy'
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 22:01:08.619113"], ["likes_number", 0], ["id", 30]]
↳ app/controllers/likes_controller.rb:26:in `destroy'
[1m[36mTRANSACTION (0.8ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:26:in `destroy'
Redirected to localhost:3000/products/30 Completed 302 Found in 26ms (ActiveRecord: 10.9ms | Allocations: 10379)
Started GET “/products/30” for ::1 at 2022-02-06 17:01:08 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.5ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.9ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 29.1ms | Allocations: 18818)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 43.1ms | Allocations: 32353)
Completed 200 OK in 46ms (Views: 37.8ms | ActiveRecord: 6.2ms | Allocations: 33491)
Started POST “/products/30/likes” for ::1 at 2022-02-06 17:01:09 -0500 Processing by LikesController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "product_id"=>"30"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:33:in `find_product'
[1m[36mLike Exists? (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "likes" WHERE "likes"."user_id" = $1 AND "likes"."product_id" = $2 LIMIT $3[0m [["user_id", 3], ["product_id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:37:in `already_liked?'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mLike Create (1.0ms)[0m [1m[32mINSERT INTO "likes" ("product_id", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["product_id", 30], ["user_id", 3], ["created_at", "2022-02-06 22:01:09.423835"], ["updated_at", "2022-02-06 22:01:09.423835"]]
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:12:in `create'
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/controllers/likes_controller.rb:14:in `create'
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mProduct Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "products" WHERE "products"."sku" = $1 AND "products"."id" != $2 LIMIT $3[0m [["sku", "3969-UPN"], ["id", 30], ["LIMIT", 1]]
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[36mProduct Update (0.9ms)[0m [1m[33mUPDATE "products" SET "updated_at" = $1, "likes_number" = $2 WHERE "products"."id" = $3[0m [["updated_at", "2022-02-06 22:01:09.434026"], ["likes_number", 1], ["id", 30]]
↳ app/controllers/likes_controller.rb:15:in `create'
[1m[36mTRANSACTION (0.9ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/likes_controller.rb:15:in `create'
Redirected to localhost:3000/products/30 Completed 302 Found in 27ms (ActiveRecord: 11.1ms | Allocations: 11355)
Started GET “/products/30” for ::1 at 2022-02-06 17:01:09 -0500 Processing by ProductsController#show as HTML
Parameters: {"id"=>"30"}
[1m[36mProduct Load (0.6ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/products_controller.rb:60:in `set_product'
Rendering layout layouts/application.html.erb
Rendering products/show.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:1
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]]
↳ app/models/product.rb:21:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:21
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:22
[1m[36mLike Load (0.8ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:25
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:48
[1m[36mReview Load (0.8ms)[0m [1m[34mSELECT "reviews".* FROM "reviews" WHERE "reviews"."product_id" = $1 ORDER BY created_at DESC[0m [["product_id", 30]]
↳ app/views/products/show.html.erb:52
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
↳ app/views/products/show.html.erb:77
Rendered products/show.html.erb within layouts/application (Duration: 27.7ms | Allocations: 18848)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 41.4ms | Allocations: 32388)
Completed 200 OK in 44ms (Views: 36.1ms | ActiveRecord: 6.2ms | Allocations: 33528)
Started GET “/products” for ::1 at 2022-02-06 17:01:10 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 148.3ms | Allocations: 73577)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 874) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 164.1ms | Allocations: 87215)
Completed 200 OK in 167ms (Views: 110.5ms | ActiveRecord: 54.1ms | Allocations: 87827)
Started GET “/tags/Dairy” for ::1 at 2022-02-06 17:01:15 -0500 Processing by ProductsController#index as HTML
Parameters: {"tag"=>"Dairy"}
[1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" WHERE "tags"."name" = $1 LIMIT $2[0m [["name", "Dairy"], ["LIMIT", 1]]
↳ app/models/product.rb:12:in `tagged_with'
Rendering layout layouts/application.html.erb
Rendering products/index.html.erb within layouts/application
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
↳ app/views/products/index.html.erb:14
[1m[36mProduct Load (0.8ms)[0m [1m[34mSELECT "products".* FROM "products" INNER JOIN "taggings" ON "products"."id" = "taggings"."product_id" WHERE "taggings"."tag_id" = $1[0m [["tag_id", 4]]
↳ app/views/products/index.html.erb:27
[1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]]
↳ app/views/products/index.html.erb:42
[1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:30:in `map'
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]]
↳ app/views/products/index.html.erb:42
Rendered products/index.html.erb within layouts/application (Duration: 37.8ms | Allocations: 15221)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 872) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 52.6ms | Allocations: 28854)
Completed 200 OK in 56ms (Views: 39.3ms | ActiveRecord: 14.4ms | Allocations: 30050)
Started GET “/products” for ::1 at 2022-02-06 17:01:17 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.3ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 156.0ms | Allocations: 73551)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 875) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 174.7ms | Allocations: 87190)
Completed 200 OK in 177ms (Views: 118.9ms | ActiveRecord: 56.2ms | Allocations: 87802)
Started GET “/users/edit” for ::1 at 2022-02-06 17:01:22 -0500 Processing by Devise::RegistrationsController#edit as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering devise/registrations/edit.html.erb within layouts/application Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 25.9ms | Allocations: 15263)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 906) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 42.7ms | Allocations: 29829)
Completed 200 OK in 51ms (Views: 46.6ms | ActiveRecord: 0.7ms | Allocations: 32597)
Started GET “/” for ::1 at 2022-02-06 17:01:23 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 1.1ms | Allocations: 114)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.0ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 24.6ms | Allocations: 15882)
Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.8ms | Allocations: 16922)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mProduct Load (2.0ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Started GET “/products” for ::1 at 2022-02-06 22:13:17 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (3.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (4.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (3.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 268.5ms | Allocations: 88141)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.8ms | Allocations: 883) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 297.0ms | Allocations: 101694)
Completed 200 OK in 352ms (Views: 228.1ms | ActiveRecord: 91.8ms | Allocations: 109044)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 22:13:19 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms | Allocations: 2236)
Started GET “/” for ::1 at 2022-02-06 22:13:19 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.0ms | Allocations: 960) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 19.6ms | Allocations: 13844)
Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms | Allocations: 14418)
Started GET “/products” for ::1 at 2022-02-06 22:13:20 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.4ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (2.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (9.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 266.0ms | Allocations: 72000)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 284.3ms | Allocations: 85689)
Completed 200 OK in 289ms (Views: 204.0ms | ActiveRecord: 80.9ms | Allocations: 87008)
Started GET “/users/sign_in” for ::1 at 2022-02-06 22:13:21 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 539) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 16.5ms | Allocations: 9589)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 932) Rendered shared/_flashes.html.erb (Duration: 0.2ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 41.5ms | Allocations: 24100)
Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.0ms | Allocations: 25287)
Started POST “/users/sign_in” for ::1 at 2022-02-06 22:13:28 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 236ms (ActiveRecord: 2.0ms | Allocations: 3477)
Started GET “/” for ::1 at 2022-02-06 22:13:28 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/shared/_navbar.html.erb:33 Rendered shared/_navbar.html.erb (Duration: 4.3ms | Allocations: 2042) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 62) Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 14965)
Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.9ms | Allocations: 15361)
Started GET “/products” for ::1 at 2022-02-06 22:13:36 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.9ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 173.8ms | Allocations: 73606)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 881) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 193.0ms | Allocations: 87255)
Completed 200 OK in 195ms (Views: 130.2ms | ActiveRecord: 63.3ms | Allocations: 87868)
Started GET “/products/new” for ::1 at 2022-02-06 22:13:37 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.5ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 32.4ms | Allocations: 17109)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 914) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 58) Rendered layout layouts/application.html.erb (Duration: 53.6ms | Allocations: 30924)
Completed 200 OK in 59ms (Views: 52.6ms | ActiveRecord: 2.5ms | Allocations: 32724)
Started DELETE “/users/sign_out” for ::1 at 2022-02-06 22:14:05 -0500 Processing by Devise::SessionsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Redirected to localhost:3000/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms | Allocations: 1923)
Started GET “/” for ::1 at 2022-02-06 22:14:05 -0500 Processing by PagesController#home as HTML
Rendering layout layouts/application.html.erb Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.4ms | Allocations: 955) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 17.0ms | Allocations: 13933)
Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.0ms | Allocations: 14325)
Started GET “/products” for ::1 at 2022-02-06 22:14:09 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.8ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.9ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.6ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 139.5ms | Allocations: 71844)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 871) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 153.7ms | Allocations: 85532)
Completed 200 OK in 156ms (Views: 102.5ms | ActiveRecord: 51.8ms | Allocations: 86138)
Started GET “/products/new” for ::1 at 2022-02-06 22:14:11 -0500 Processing by ProductsController#new as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 227)
Started GET “/users/sign_in” for ::1 at 2022-02-06 22:14:11 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 12.7ms | Allocations: 8795)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.5ms | Allocations: 918) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 63) Rendered layout layouts/application.html.erb (Duration: 51.3ms | Allocations: 22526)
Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms | Allocations: 23136)
Started GET “/users/sign_in” for ::1 at 2022-02-06 22:14:13 -0500 Processing by Devise::SessionsController#new as HTML
Rendering layout layouts/application.html.erb Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (Duration: 0.4ms | Allocations: 152) Rendered devise/sessions/new.html.erb within layouts/application (Duration: 15.5ms | Allocations: 8761)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 910) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 39.7ms | Allocations: 22475)
Completed 200 OK in 42ms (Views: 40.4ms | ActiveRecord: 0.0ms | Allocations: 23075)
Started POST “/users/sign_in” for ::1 at 2022-02-06 22:14:18 -0500 Processing by Devise::SessionsController#create as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"gabriel@applaudo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "gabriel@applaudo.com"], ["LIMIT", 1]]
Redirected to localhost:3000/products/new Completed 302 Found in 220ms (ActiveRecord: 0.9ms | Allocations: 2458)
Started GET “/products/new” for ::1 at 2022-02-06 22:14:18 -0500 Processing by ProductsController#new as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] Rendering layout layouts/application.html.erb Rendering products/new.html.erb within layouts/application [1m[36mTag Load (1.0ms)[0m [1m[34mSELECT "tags".* FROM "tags" ORDER BY "tags"."name" ASC[0m ↳ app/views/products/new.html.erb:11 Rendered products/new.html.erb within layouts/application (Duration: 21.5ms | Allocations: 15745)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.3ms | Allocations: 911) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 60) Rendered layout layouts/application.html.erb (Duration: 36.6ms | Allocations: 29432)
Completed 200 OK in 40ms (Views: 36.0ms | ActiveRecord: 1.6ms | Allocations: 31117)
Started GET “/products” for ::1 at 2022-02-06 22:14:26 -0500 Processing by ProductsController#index as HTML
Rendering layout layouts/application.html.erb Rendering products/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]] ↳ app/views/products/index.html.erb:14 [1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE (stock > 0) ORDER BY created_at DESC[0m ↳ app/views/products/index.html.erb:27 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 30]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.3ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 29]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 28]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 27]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 26]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 25]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 24]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 23]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 22]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 21]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 20]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.1ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 19]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 18]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (1.2ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 17]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 16]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 15]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 14]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 13]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 12]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 11]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 10]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 9]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 8]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 7]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 6]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 5]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 4]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 3]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.8ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 2]] ↳ app/views/products/index.html.erb:42 [1m[36mTag Load (0.7ms)[0m [1m[34mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:30:in `map' [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "likes" WHERE "likes"."product_id" = $1[0m [["product_id", 1]] ↳ app/views/products/index.html.erb:42 Rendered products/index.html.erb within layouts/application (Duration: 147.9ms | Allocations: 73571)
- Webpacker
-
Everything's up-to-date. Nothing to do
Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 877) Rendered shared/_flashes.html.erb (Duration: 0.1ms | Allocations: 56) Rendered layout layouts/application.html.erb (Duration: 162.6ms | Allocations: 87265)
Completed 200 OK in 164ms (Views: 108.5ms | ActiveRecord: 54.6ms | Allocations: 87877)